home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1993 / MacHack 1993.toast / MacHack™ 1987-1992 / MacHack™ '90 / Other Stuff / Demos ƒ / B-Tree HELPER™ / Honorware / Stock HELPER™ V0.6 < prev   
MacBinary  |  1990-06-14  |  81.8 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, Mon Jul 20 20:50:45 1987, modified Thu Jun 14 18:44:17 1990, creator HyperCard, type HyperCard stack, 81920 bytes "Stock HELPER� V0.6" , at 0x14080 1637 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
50% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 53 74 6f 63 6b 20 | 48 45 4c 50 45 52 aa 20 |..Stock |HELPER. |
|00000010| 56 30 2e 36 00 00 00 00 | 00 00 00 00 00 00 00 00 |V0.6....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 00 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 40 00 00 | 00 06 65 9d 28 6b 65 a2 |.....@..|..e.(ke.|
|00000060| 9d c3 c1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a4 0b 00 00 |........|........|
|00000080| 00 00 36 00 53 54 41 4b | ff ff ff ff e7 de 73 e6 |..6.STAK|......s.|
|00000090| 00 00 00 08 00 01 40 00 | 00 00 36 00 00 00 00 00 |......@.|..6.....|
|000000a0| 00 00 00 01 00 00 00 06 | 00 00 4c 18 00 00 00 0c |........|..L.....|
|000000b0| 00 00 8e 73 00 00 0a 6e | 00 00 00 03 00 00 11 c0 |...s...n|........|
|000000c0| 00 00 42 b3 00 00 00 00 | 00 05 00 00 10 00 00 00 |..B.....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 01 20 80 00 | 01 20 80 00 01 25 80 00 |..... ..|. ...%..|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 01 1d 60 00 00 04 00 | 00 01 22 e0 00 00 00 60 |...`....|.."....`|
|00000490| 00 01 32 80 00 00 0d 60 | 00 00 00 00 00 00 00 00 |..2....`|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 47 6c 6f |on openS|tack.Glo|
|00000690| 62 61 6c 20 6f 70 65 72 | 61 74 69 6f 6e 4d 6f 64 |bal oper|ationMod|
|000006a0| 65 2c 64 61 74 65 66 6f | 72 55 70 64 61 74 65 0d |e,datefo|rUpdate.|
|000006b0| 67 6c 6f 62 61 6c 20 55 | 70 64 61 74 65 46 69 65 |global U|pdateFie|
|000006c0| 6c 64 2c 73 70 61 6e 31 | 2c 73 70 61 6e 32 2c 73 |ld,span1|,span2,s|
|000006d0| 70 61 6e 33 0d 67 6c 6f | 62 61 6c 20 75 70 41 72 |pan3.glo|bal upAr|
|000006e0| 72 6f 77 2c 64 6f 77 6e | 41 72 72 6f 77 0d 67 6c |row,down|Arrow.gl|
|000006f0| 6f 62 61 6c 20 6d 61 78 | 44 61 74 61 50 6f 69 6e |obal max|DataPoin|
|00000700| 74 73 2c 6d 69 6e 42 61 | 73 65 56 61 6c 75 65 2c |ts,minBa|seValue,|
|00000710| 6d 61 78 42 61 73 65 56 | 61 6c 75 65 0d 67 6c 6f |maxBaseV|alue.glo|
|00000720| 62 61 6c 20 66 69 72 73 | 74 43 68 61 72 74 2c 55 |bal firs|tChart,U|
|00000730| 70 64 61 74 65 4e 61 6d | 65 2c 48 65 6c 70 4e 61 |pdateNam|e,HelpNa|
|00000740| 6d 65 2c 74 69 74 6c 65 | 43 61 72 64 0d 67 6c 6f |me,title|Card.glo|
|00000750| 62 61 6c 20 66 72 61 6d | 65 52 65 63 74 0d 67 6c |bal fram|eRect.gl|
|00000760| 6f 62 61 6c 20 63 6f 70 | 79 69 6e 67 43 68 61 72 |obal cop|yingChar|
|00000770| 74 73 20 2d 2d 20 61 76 | 6f 69 64 20 75 6e 6e 65 |ts -- av|oid unne|
|00000780| 63 65 73 73 61 72 79 20 | 6f 70 65 72 61 74 69 6f |cessary |operatio|
|00000790| 6e 73 20 64 75 72 69 6e | 67 20 63 6f 70 79 69 6e |ns durin|g copyin|
|000007a0| 67 0d 67 6c 6f 62 61 6c | 20 73 61 76 65 4c 65 76 |g.global| saveLev|
|000007b0| 65 6c 2c 77 6f 72 6b 69 | 6e 67 4c 65 76 65 6c 0d |el,worki|ngLevel.|
|000007c0| 67 6c 6f 62 61 6c 20 6e | 65 77 43 68 61 72 74 20 |global n|ewChart |
|000007d0| 2d 2d 20 73 65 74 20 74 | 72 75 65 20 74 6f 20 61 |-- set t|rue to a|
|000007e0| 76 6f 69 64 20 6f 70 65 | 6e 69 6e 67 20 68 65 6c |void ope|ning hel|
|000007f0| 70 20 63 68 61 72 74 0d | 69 66 20 63 6f 70 79 69 |p chart.|if copyi|
|00000800| 6e 67 43 68 61 72 74 73 | ad 74 72 75 65 20 74 68 |ngCharts|.true th|
|00000810| 65 6e 0d 69 66 20 63 6f | 70 79 69 6e 67 43 68 61 |en.if co|pyingCha|
|00000820| 72 74 73 ad 66 61 6c 73 | 65 20 74 68 65 6e 0d 70 |rts.fals|e then.p|
|00000830| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 63 6f |ut false| into co|
|00000840| 70 79 69 6e 67 43 68 61 | 72 74 73 0d 65 6e 64 20 |pyingCha|rts.end |
|00000850| 69 66 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 65 |if.end i|f.if the|
|00000860| 20 76 65 72 73 69 6f 6e | 3c 22 31 2e 32 22 20 74 | version|<"1.2" t|
|00000870| 68 65 6e 0d 41 6e 73 77 | 65 72 20 22 53 6f 72 72 |hen.Answ|er "Sorr|
|00000880| 79 2c 20 49 20 6e 65 65 | 64 20 48 79 70 65 72 43 |y, I nee|d HyperC|
|00000890| 61 72 64 20 31 2e 32 20 | 6f 72 20 67 72 65 61 74 |ard 1.2 |or great|
|000008a0| 65 72 2e 22 20 77 69 74 | 68 20 22 4f 4b 22 0d 67 |er." wit|h "OK".g|
|000008b0| 6f 20 68 6f 6d 65 0d 65 | 6e 64 20 69 66 0d 69 66 |o home.e|nd if.if|
|000008c0| 20 6e 6f 74 20 63 6f 70 | 79 69 6e 67 43 68 61 72 | not cop|yingChar|
|000008d0| 74 73 20 74 68 65 6e 0d | 68 69 64 65 20 6d 65 73 |ts then.|hide mes|
|000008e0| 73 61 67 65 20 62 6f 78 | 0d 68 69 64 65 20 6d 65 |sage box|.hide me|
|000008f0| 6e 75 42 61 72 0d 70 75 | 74 20 74 68 65 20 75 73 |nuBar.pu|t the us|
|00000900| 65 72 4c 65 76 65 6c 20 | 69 6e 74 6f 20 73 61 76 |erLevel |into sav|
|00000910| 65 4c 65 76 65 6c 0d 70 | 75 74 20 33 20 69 6e 74 |eLevel.p|ut 3 int|
|00000920| 6f 20 77 6f 72 6b 69 6e | 67 4c 65 76 65 6c 20 2d |o workin|gLevel -|
|00000930| 2d 20 70 61 69 6e 74 69 | 6e 67 0d 73 65 74 20 74 |- painti|ng.set t|
|00000940| 68 65 20 75 73 65 72 4c | 65 76 65 6c 20 74 6f 20 |he userL|evel to |
|00000950| 77 6f 72 6b 69 6e 67 4c | 65 76 65 6c 0d 2d 2d 20 |workingL|evel.-- |
|00000960| 73 65 65 20 61 6c 73 6f | 20 63 6c 6f 73 65 43 61 |see also| closeCa|
|00000970| 72 64 20 6f 66 20 63 61 | 72 64 20 22 48 6f 6e 6f |rd of ca|rd "Hono|
|00000980| 72 57 61 72 65 22 0d 2d | 2d 20 74 68 69 73 20 69 |rWare".-|- this i|
|00000990| 73 20 6e 65 65 64 65 64 | 20 69 66 20 75 73 65 72 |s needed| if user|
|000009a0| 20 6f 70 65 6e 73 20 72 | 65 63 65 6e 74 0d 70 75 | opens r|ecent.pu|
|000009b0| 74 20 31 36 36 39 32 20 | 69 6e 74 6f 20 75 70 41 |t 16692 |into upA|
|000009c0| 72 72 6f 77 0d 70 75 74 | 20 33 35 38 34 20 69 6e |rrow.put| 3584 in|
|000009d0| 74 6f 20 64 6f 77 6e 41 | 72 72 6f 77 0d 70 75 74 |to downA|rrow.put|
|000009e0| 20 35 20 69 6e 74 6f 20 | 73 70 61 6e 31 0d 70 75 | 5 into |span1.pu|
|000009f0| 74 20 31 35 20 69 6e 74 | 6f 20 73 70 61 6e 32 0d |t 15 int|o span2.|
|00000a00| 70 75 74 20 34 30 20 69 | 6e 74 6f 20 73 70 61 6e |put 40 i|nto span|
|00000a10| 33 0d 70 75 74 20 35 32 | 20 69 6e 74 6f 20 6d 61 |3.put 52| into ma|
|00000a20| 78 44 61 74 61 50 6f 69 | 6e 74 73 0d 70 75 74 20 |xDataPoi|nts.put |
|00000a30| 31 30 30 30 30 20 69 6e | 74 6f 20 6d 69 6e 42 61 |10000 in|to minBa|
|00000a40| 73 65 56 61 6c 75 65 0d | 70 75 74 20 39 39 39 39 |seValue.|put 9999|
|00000a50| 39 20 69 6e 74 6f 20 6d | 61 78 42 61 73 65 56 61 |9 into m|axBaseVa|
|00000a60| 6c 75 65 0d 70 75 74 20 | 22 55 70 64 61 74 65 20 |lue.put |"Update |
|00000a70| 43 68 61 72 74 73 22 20 | 69 6e 74 6f 20 55 70 64 |Charts" |into Upd|
|00000a80| 61 74 65 4e 61 6d 65 0d | 70 75 74 20 22 48 65 6c |ateName.|put "Hel|
|00000a90| 70 20 43 61 72 64 22 20 | 69 6e 74 6f 20 48 65 6c |p Card" |into Hel|
|00000aa0| 70 4e 61 6d 65 0d 70 75 | 74 20 22 54 69 74 6c 65 |pName.pu|t "Title|
|00000ab0| 20 43 61 72 64 22 20 69 | 6e 74 6f 20 54 69 74 6c | Card" i|nto Titl|
|00000ac0| 65 43 61 72 64 0d 70 75 | 74 20 39 20 69 6e 74 6f |eCard.pu|t 9 into|
|00000ad0| 20 66 69 72 73 74 43 68 | 61 72 74 20 2d 2d 20 6e | firstCh|art -- n|
|00000ae0| 75 6d 62 65 72 20 6f 66 | 20 66 69 72 73 74 20 63 |umber of| first c|
|00000af0| 68 61 72 74 20 63 61 72 | 64 0d 70 75 74 20 22 31 |hart car|d.put "1|
|00000b00| 2c 34 30 2c 33 32 36 2c | 32 37 35 22 20 69 6e 74 |,40,326,|275" int|
|00000b10| 6f 20 66 72 61 6d 65 52 | 65 63 74 0d 70 75 74 20 |o frameR|ect.put |
|00000b20| 66 61 6c 73 65 20 69 6e | 74 6f 20 63 6f 70 79 69 |false in|to copyi|
|00000b30| 6e 67 43 68 61 72 74 73 | 0d 70 75 74 20 66 61 6c |ngCharts|.put fal|
|00000b40| 73 65 20 69 6e 74 6f 20 | 6e 65 77 43 68 61 72 74 |se into |newChart|
|00000b50| 0d 65 6e 64 20 69 66 20 | 2d 2d 20 6e 6f 74 20 63 |.end if |-- not c|
|00000b60| 6f 70 79 69 6e 67 43 68 | 61 72 74 73 0d 65 6e 64 |opyingCh|arts.end|
|00000b70| 20 6f 70 65 6e 53 74 61 | 63 6b 0d 0d 66 75 6e 63 | openSta|ck..func|
|00000b80| 74 69 6f 6e 20 66 72 61 | 6d 65 68 65 69 67 68 74 |tion fra|meheight|
|00000b90| 0d 72 65 74 75 72 6e 20 | 32 33 35 0d 65 6e 64 20 |.return |235.end |
|00000ba0| 66 72 61 6d 65 68 65 69 | 67 68 74 0d 0d 66 75 6e |framehei|ght..fun|
|00000bb0| 63 74 69 6f 6e 20 66 72 | 61 6d 65 77 69 64 74 68 |ction fr|amewidth|
|00000bc0| 0d 72 65 74 75 72 6e 20 | 33 32 35 0d 65 6e 64 20 |.return |325.end |
|00000bd0| 66 72 61 6d 65 77 69 64 | 74 68 0d 0d 66 75 6e 63 |framewid|th..func|
|00000be0| 74 69 6f 6e 20 66 72 61 | 6d 65 62 6f 74 74 6f 6d |tion fra|mebottom|
|00000bf0| 0d 72 65 74 75 72 6e 20 | 32 37 35 0d 65 6e 64 20 |.return |275.end |
|00000c00| 66 72 61 6d 65 62 6f 74 | 74 6f 6d 0d 0d 66 75 6e |framebot|tom..fun|
|00000c10| 63 74 69 6f 6e 20 66 72 | 61 6d 65 6c 65 66 74 0d |ction fr|ameleft.|
|00000c20| 72 65 74 75 72 6e 20 31 | 0d 65 6e 64 20 66 72 61 |return 1|.end fra|
|00000c30| 6d 65 6c 65 66 74 0d 0d | 6f 6e 20 63 6c 65 61 72 |meleft..|on clear|
|00000c40| 53 63 72 65 65 6e 0d 63 | 68 6f 6f 73 65 20 73 65 |Screen.c|hoose se|
|00000c50| 6c 65 63 74 20 74 6f 6f | 6c 0d 64 6f 4d 65 6e 75 |lect too|l.doMenu|
|00000c60| 20 73 65 6c 65 63 74 20 | 61 6c 6c 0d 64 6f 4d 65 | select |all.doMe|
|00000c70| 6e 75 20 63 6c 65 61 72 | 20 70 69 63 74 75 72 65 |nu clear| picture|
|00000c80| 0d 65 6e 64 20 63 6c 65 | 61 72 53 63 72 65 65 6e |.end cle|arScreen|
|00000c90| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 6d 61 78 4c 69 |..functi|on maxLi|
|00000ca0| 6e 65 20 77 68 61 74 2c | 69 74 65 6d 4e 72 0d 70 |ne what,|itemNr.p|
|00000cb0| 75 74 20 69 74 65 6d 20 | 69 74 65 6d 4e 72 20 6f |ut item |itemNr o|
|00000cc0| 66 20 6c 69 6e 65 20 31 | 20 6f 66 20 77 68 61 74 |f line 1| of what|
|00000cd0| 20 69 6e 74 6f 20 72 65 | 73 75 6c 74 0d 72 65 70 | into re|sult.rep|
|00000ce0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 32 20 74 |eat with| i = 2 t|
|00000cf0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00000d00| 6c 69 6e 65 73 20 69 6e | 20 77 68 61 74 0d 70 75 |lines in| what.pu|
|00000d10| 74 20 6d 61 78 28 72 65 | 73 75 6c 74 2c 69 74 65 |t max(re|sult,ite|
|00000d20| 6d 20 69 74 65 6d 4e 72 | 20 6f 66 20 6c 69 6e 65 |m itemNr| of line|
|00000d30| 20 69 20 6f 66 20 77 68 | 61 74 29 20 69 6e 74 6f | i of wh|at) into|
|00000d40| 20 72 65 73 75 6c 74 0d | 65 6e 64 20 72 65 70 65 | result.|end repe|
|00000d50| 61 74 0d 72 65 74 75 72 | 6e 20 72 65 73 75 6c 74 |at.retur|n result|
|00000d60| 0d 65 6e 64 20 6d 61 78 | 4c 69 6e 65 0d 0d 66 75 |.end max|Line..fu|
|00000d70| 6e 63 74 69 6f 6e 20 6d | 69 6e 4c 69 6e 65 20 77 |nction m|inLine w|
|00000d80| 68 61 74 2c 69 74 65 6d | 4e 72 0d 70 75 74 20 69 |hat,item|Nr.put i|
|00000d90| 74 65 6d 20 69 74 65 6d | 4e 72 20 6f 66 20 6c 69 |tem item|Nr of li|
|00000da0| 6e 65 20 31 20 6f 66 20 | 77 68 61 74 20 69 6e 74 |ne 1 of |what int|
|00000db0| 6f 20 72 65 73 75 6c 74 | 0d 72 65 70 65 61 74 20 |o result|.repeat |
|00000dc0| 77 69 74 68 20 69 20 3d | 20 32 20 74 6f 20 74 68 |with i =| 2 to th|
|00000dd0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00000de0| 73 20 69 6e 20 77 68 61 | 74 0d 70 75 74 20 6d 69 |s in wha|t.put mi|
|00000df0| 6e 28 72 65 73 75 6c 74 | 2c 69 74 65 6d 20 69 74 |n(result|,item it|
|00000e00| 65 6d 4e 72 20 6f 66 20 | 6c 69 6e 65 20 69 20 6f |emNr of |line i o|
|00000e10| 66 20 77 68 61 74 29 20 | 69 6e 74 6f 20 72 65 73 |f what) |into res|
|00000e20| 75 6c 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 |ult.end |repeat.r|
|00000e30| 65 74 75 72 6e 20 72 65 | 73 75 6c 74 0d 65 6e 64 |eturn re|sult.end|
|00000e40| 20 6d 69 6e 4c 69 6e 65 | 0d 0d 66 75 6e 63 74 69 | minLine|..functi|
|00000e50| 6f 6e 20 72 6f 75 6e 64 | 65 72 73 20 73 75 6d 2c |on round|ers sum,|
|00000e60| 73 70 61 6e 0d 70 75 74 | 20 72 6f 75 6e 64 28 31 |span.put| round(1|
|00000e70| 30 30 2a 28 73 75 6d 2f | 73 70 61 6e 29 29 2f 31 |00*(sum/|span))/1|
|00000e80| 30 30 20 69 6e 74 6f 20 | 72 65 73 75 6c 74 0d 72 |00 into |result.r|
|00000e90| 65 74 75 72 6e 20 72 65 | 73 75 6c 74 0d 65 6e 64 |eturn re|sult.end|
|00000ea0| 20 72 6f 75 6e 64 65 72 | 73 0d 0d 6f 6e 20 53 63 | rounder|s..on Sc|
|00000eb0| 72 6f 6c 6c 74 6f 4c 61 | 73 74 4c 69 6e 65 0d 67 |rolltoLa|stLine.g|
|00000ec0| 6c 6f 62 61 6c 20 6f 70 | 65 72 61 74 69 6f 6e 4d |lobal op|erationM|
|00000ed0| 6f 64 65 2c 64 61 74 65 | 66 6f 72 55 70 64 61 74 |ode,date|forUpdat|
|00000ee0| 65 2c 6c 69 6e 65 43 6f | 75 6e 74 0d 69 66 20 6f |e,lineCo|unt.if o|
|00000ef0| 70 65 72 61 74 69 6f 6e | 4d 6f 64 65 3d 22 55 70 |peration|Mode="Up|
|00000f00| 64 61 74 65 22 20 74 68 | 65 6e 0d 69 66 20 64 61 |date" th|en.if da|
|00000f10| 74 65 66 6f 72 55 70 64 | 61 74 65 ad 69 74 65 6d |teforUpd|ate.item|
|00000f20| 20 31 20 6f 66 20 6c 69 | 6e 65 20 6c 69 6e 65 43 | 1 of li|ne lineC|
|00000f30| 6f 75 6e 74 20 6f 66 20 | 66 69 65 6c 64 20 22 64 |ount of |field "d|
|00000f40| 61 74 61 22 20 74 68 65 | 6e 0d 67 65 74 20 6c 69 |ata" the|n.get li|
|00000f50| 6e 65 20 6c 69 6e 65 43 | 6f 75 6e 74 20 6f 66 20 |ne lineC|ount of |
|00000f60| 66 69 65 6c 64 20 22 64 | 61 74 61 22 0d 70 75 74 |field "d|ata".put|
|00000f70| 20 69 74 26 72 65 74 75 | 72 6e 26 64 61 74 65 66 | it&retu|rn&datef|
|00000f80| 6f 72 55 70 64 61 74 65 | 20 69 6e 74 6f 20 6c 69 |orUpdate| into li|
|00000f90| 6e 65 20 6c 69 6e 65 43 | 6f 75 6e 74 20 6f 66 20 |ne lineC|ount of |
|00000fa0| 66 69 65 6c 64 20 22 64 | 61 74 61 22 0d 61 64 64 |field "d|ata".add|
|00000fb0| 20 31 20 74 6f 20 6c 69 | 6e 65 43 6f 75 6e 74 0d | 1 to li|neCount.|
|00000fc0| 67 65 74 20 6c 69 6e 65 | 20 6c 69 6e 65 43 6f 75 |get line| lineCou|
|00000fd0| 6e 74 20 6f 66 20 66 69 | 65 6c 64 20 22 64 61 74 |nt of fi|eld "dat|
|00000fe0| 61 22 0d 70 75 74 20 69 | 74 26 22 2c 22 20 69 6e |a".put i|t&"," in|
|00000ff0| 74 6f 20 6c 69 6e 65 20 | 6c 69 6e 65 43 6f 75 6e |to line |lineCoun|
|00001000| 74 20 6f 66 20 66 69 65 | 6c 64 20 22 64 61 74 61 |t of fie|ld "data|
|00001010| 22 0d 70 75 74 20 6c 69 | 6e 65 43 6f 75 6e 74 2d |".put li|neCount-|
|00001020| 34 20 69 6e 74 6f 20 73 | 63 72 6f 6c 6c 65 64 4c |4 into s|crolledL|
|00001030| 69 6e 65 73 0d 69 66 20 | 73 63 72 6f 6c 6c 65 64 |ines.if |scrolled|
|00001040| 4c 69 6e 65 73 3e 30 20 | 74 68 65 6e 0d 6d 75 6c |Lines>0 |then.mul|
|00001050| 74 69 70 6c 79 20 73 63 | 72 6f 6c 6c 65 64 4c 69 |tiply sc|rolledLi|
|00001060| 6e 65 73 20 62 79 20 74 | 68 65 20 74 65 78 74 68 |nes by t|he texth|
|00001070| 65 69 67 68 74 20 6f 66 | 20 66 69 65 6c 64 20 22 |eight of| field "|
|00001080| 44 61 74 61 22 0d 73 65 | 74 20 74 68 65 20 73 63 |Data".se|t the sc|
|00001090| 72 6f 6c 6c 20 6f 66 20 | 66 69 65 6c 64 20 22 44 |roll of |field "D|
|000010a0| 61 74 61 22 20 74 6f 20 | 73 63 72 6f 6c 6c 65 64 |ata" to |scrolled|
|000010b0| 4c 69 6e 65 73 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Lines.en|d if.end|
|000010c0| 20 69 66 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 53 | if.end |if.end S|
|000010d0| 63 72 6f 6c 6c 74 6f 4c | 61 73 74 4c 69 6e 65 0d |crolltoL|astLine.|
|000010e0| 0d 6f 6e 20 61 72 72 6f | 77 44 69 72 65 63 74 69 |.on arro|wDirecti|
|000010f0| 6f 6e 20 61 72 72 6f 77 | 4e 72 0d 70 75 74 20 22 |on arrow|Nr.put "|
|00001100| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 20 22 26 71 |bkgnd bu|tton "&q|
|00001110| 75 6f 74 65 26 22 44 69 | 72 65 63 74 69 6f 6e 20 |uote&"Di|rection |
|00001120| 22 26 61 72 72 6f 77 4e | 72 26 71 75 6f 74 65 20 |"&arrowN|r&quote |
|00001130| 69 6e 74 6f 20 64 69 72 | 65 63 74 69 6f 6e 0d 67 |into dir|ection.g|
|00001140| 65 74 20 6c 69 6e 65 20 | 61 72 72 6f 77 4e 72 20 |et line |arrowNr |
|00001150| 6f 66 20 66 69 65 6c 64 | 20 22 44 69 72 65 63 74 |of field| "Direct|
|00001160| 69 6f 6e 73 22 0d 69 66 | 20 69 74 3e 30 20 74 68 |ions".if| it>0 th|
|00001170| 65 6e 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |en.set t|he icon |
|00001180| 6f 66 20 64 69 72 65 63 | 74 69 6f 6e 20 74 6f 20 |of direc|tion to |
|00001190| 69 74 0d 73 68 6f 77 20 | 64 69 72 65 63 74 69 6f |it.show |directio|
|000011a0| 6e 0d 65 6c 73 65 0d 68 | 69 64 65 20 64 69 72 65 |n.else.h|ide dire|
|000011b0| 63 74 69 6f 6e 0d 65 6e | 64 20 69 66 0d 65 6e 64 |ction.en|d if.end|
|000011c0| 20 61 72 72 6f 77 44 69 | 72 65 63 74 69 6f 6e 0d | arrowDi|rection.|
|000011d0| 0d 6f 6e 20 4d 6f 76 69 | 6e 67 41 76 65 72 61 67 |.on Movi|ngAverag|
|000011e0| 65 20 41 76 67 2c 61 76 | 67 4e 72 2c 73 70 61 6e |e Avg,av|gNr,span|
|000011f0| 2c 69 74 65 6d 4e 72 0d | 67 6c 6f 62 61 6c 20 6c |,itemNr.|global l|
|00001200| 69 6e 65 43 6f 75 6e 74 | 0d 67 6c 6f 62 61 6c 20 |ineCount|.global |
|00001210| 75 70 41 72 72 6f 77 2c | 64 6f 77 6e 41 72 72 6f |upArrow,|downArro|
|00001220| 77 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 61 76 67 |w.put 0 |into avg|
|00001230| 61 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 61 76 67 |a.put 0 |into avg|
|00001240| 62 0d 70 75 74 20 6c 69 | 6e 65 43 6f 75 6e 74 20 |b.put li|neCount |
|00001250| 69 6e 74 6f 20 69 74 65 | 6d 43 6f 75 6e 74 0d 70 |into ite|mCount.p|
|00001260| 75 74 20 22 41 76 65 72 | 61 67 65 20 22 26 61 76 |ut "Aver|age "&av|
|00001270| 67 4e 72 20 69 6e 74 6f | 20 61 76 67 46 69 65 6c |gNr into| avgFiel|
|00001280| 64 0d 69 66 20 6c 69 6e | 65 43 6f 75 6e 74 3e 3d |d.if lin|eCount>=|
|00001290| 73 70 61 6e 20 74 68 65 | 6e 0d 70 75 74 20 72 6f |span the|n.put ro|
|000012a0| 75 6e 64 65 72 73 28 41 | 76 67 2c 73 70 61 6e 29 |unders(A|vg,span)|
|000012b0| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 61 76 67 46 | into fi|eld avgF|
|000012c0| 69 65 6c 64 0d 65 6c 73 | 65 0d 70 75 74 20 65 6d |ield.els|e.put em|
|000012d0| 70 74 79 20 69 6e 74 6f | 20 66 69 65 6c 64 20 61 |pty into| field a|
|000012e0| 76 67 46 69 65 6c 64 0d | 65 6e 64 20 69 66 0d 69 |vgField.|end if.i|
|000012f0| 66 20 6c 69 6e 65 43 6f | 75 6e 74 3e 3d 73 70 61 |f lineCo|unt>=spa|
|00001300| 6e 2b 32 20 74 68 65 6e | 0d 69 66 20 69 74 65 6d |n+2 then|.if item|
|00001310| 4e 72 3e 30 20 74 68 65 | 6e 0d 70 75 74 20 69 74 |Nr>0 the|n.put it|
|00001320| 65 6d 20 69 74 65 6d 4e | 72 20 6f 66 20 6c 69 6e |em itemN|r of lin|
|00001330| 65 20 69 74 65 6d 43 6f | 75 6e 74 20 6f 66 20 66 |e itemCo|unt of f|
|00001340| 69 65 6c 64 20 22 64 61 | 74 61 22 20 69 6e 74 6f |ield "da|ta" into|
|00001350| 20 65 6e 64 56 61 6c 75 | 65 31 0d 73 75 62 74 72 | endValu|e1.subtr|
|00001360| 61 63 74 20 31 20 66 72 | 6f 6d 20 69 74 65 6d 43 |act 1 fr|om itemC|
|00001370| 6f 75 6e 74 0d 70 75 74 | 20 69 74 65 6d 20 69 74 |ount.put| item it|
|00001380| 65 6d 4e 72 20 6f 66 20 | 6c 69 6e 65 20 69 74 65 |emNr of |line ite|
|00001390| 6d 43 6f 75 6e 74 20 6f | 66 20 66 69 65 6c 64 20 |mCount o|f field |
|000013a0| 22 64 61 74 61 22 20 69 | 6e 74 6f 20 65 6e 64 56 |"data" i|nto endV|
|000013b0| 61 6c 75 65 32 0d 73 75 | 62 74 72 61 63 74 20 73 |alue2.su|btract s|
|000013c0| 70 61 6e 2d 31 20 66 72 | 6f 6d 20 69 74 65 6d 43 |pan-1 fr|om itemC|
|000013d0| 6f 75 6e 74 0d 70 75 74 | 20 69 74 65 6d 20 69 74 |ount.put| item it|
|000013e0| 65 6d 4e 72 20 6f 66 20 | 6c 69 6e 65 20 69 74 65 |emNr of |line ite|
|000013f0| 6d 43 6f 75 6e 74 20 6f | 66 20 66 69 65 6c 64 20 |mCount o|f field |
|00001400| 22 64 61 74 61 22 20 69 | 6e 74 6f 20 70 61 73 74 |"data" i|nto past|
|00001410| 56 61 6c 75 65 31 0d 73 | 75 62 74 72 61 63 74 20 |Value1.s|ubtract |
|00001420| 31 20 66 72 6f 6d 20 69 | 74 65 6d 43 6f 75 6e 74 |1 from i|temCount|
|00001430| 0d 70 75 74 20 69 74 65 | 6d 20 69 74 65 6d 4e 72 |.put ite|m itemNr|
|00001440| 20 6f 66 20 6c 69 6e 65 | 20 69 74 65 6d 43 6f 75 | of line| itemCou|
|00001450| 6e 74 20 6f 66 20 66 69 | 65 6c 64 20 22 64 61 74 |nt of fi|eld "dat|
|00001460| 61 22 20 69 6e 74 6f 20 | 70 61 73 74 56 61 6c 75 |a" into |pastValu|
|00001470| 65 32 0d 65 6c 73 65 0d | 70 75 74 20 2d 69 74 65 |e2.else.|put -ite|
|00001480| 6d 4e 72 20 69 6e 74 6f | 20 6c 6f 77 49 74 65 6d |mNr into| lowItem|
|00001490| 0d 70 75 74 20 6c 6f 77 | 49 74 65 6d 2d 31 20 69 |.put low|Item-1 i|
|000014a0| 6e 74 6f 20 68 69 67 68 | 49 74 65 6d 0d 70 75 74 |nto high|Item.put|
|000014b0| 20 69 74 65 6d 20 68 69 | 67 68 49 74 65 6d 20 6f | item hi|ghItem o|
|000014c0| 66 20 6c 69 6e 65 20 69 | 74 65 6d 43 6f 75 6e 74 |f line i|temCount|
|000014d0| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|000014e0| c2 0d 69 6e 74 6f 20 65 | 6e 64 56 61 6c 75 65 31 |..into e|ndValue1|
|000014f0| 0d 73 75 62 74 72 61 63 | 74 20 69 74 65 6d 20 6c |.subtrac|t item l|
|00001500| 6f 77 49 74 65 6d 20 6f | 66 20 6c 69 6e 65 20 69 |owItem o|f line i|
|00001510| 74 65 6d 43 6f 75 6e 74 | 20 6f 66 20 66 69 65 6c |temCount| of fiel|
|00001520| 64 20 22 64 61 74 61 22 | c2 0d 66 72 6f 6d 20 65 |d "data"|..from e|
|00001530| 6e 64 56 61 6c 75 65 31 | 0d 73 75 62 74 72 61 63 |ndValue1|.subtrac|
|00001540| 74 20 31 20 66 72 6f 6d | 20 69 74 65 6d 43 6f 75 |t 1 from| itemCou|
|00001550| 6e 74 0d 70 75 74 20 69 | 74 65 6d 20 68 69 67 68 |nt.put i|tem high|
|00001560| 49 74 65 6d 20 6f 66 20 | 6c 69 6e 65 20 69 74 65 |Item of |line ite|
|00001570| 6d 43 6f 75 6e 74 20 6f | 66 20 66 69 65 6c 64 20 |mCount o|f field |
|00001580| 22 64 61 74 61 22 c2 0d | 69 6e 74 6f 20 65 6e 64 |"data"..|into end|
|00001590| 56 61 6c 75 65 32 0d 73 | 75 62 74 72 61 63 74 20 |Value2.s|ubtract |
|000015a0| 69 74 65 6d 20 6c 6f 77 | 49 74 65 6d 20 6f 66 20 |item low|Item of |
|000015b0| 6c 69 6e 65 20 69 74 65 | 6d 43 6f 75 6e 74 20 6f |line ite|mCount o|
|000015c0| 66 20 66 69 65 6c 64 20 | 22 64 61 74 61 22 c2 0d |f field |"data"..|
|000015d0| 66 72 6f 6d 20 65 6e 64 | 56 61 6c 75 65 32 0d 73 |from end|Value2.s|
|000015e0| 75 62 74 72 61 63 74 20 | 73 70 61 6e 2d 31 20 66 |ubtract |span-1 f|
|000015f0| 72 6f 6d 20 69 74 65 6d | 43 6f 75 6e 74 0d 70 75 |rom item|Count.pu|
|00001600| 74 20 69 74 65 6d 20 68 | 69 67 68 49 74 65 6d 20 |t item h|ighItem |
|00001610| 6f 66 20 6c 69 6e 65 20 | 69 74 65 6d 43 6f 75 6e |of line |itemCoun|
|00001620| 74 20 6f 66 20 66 69 65 | 6c 64 20 22 64 61 74 61 |t of fie|ld "data|
|00001630| 22 c2 0d 69 6e 74 6f 20 | 70 61 73 74 56 61 6c 75 |"..into |pastValu|
|00001640| 65 31 0d 73 75 62 74 72 | 61 63 74 20 69 74 65 6d |e1.subtr|act item|
|00001650| 20 6c 6f 77 49 74 65 6d | 20 6f 66 20 6c 69 6e 65 | lowItem| of line|
|00001660| 20 69 74 65 6d 43 6f 75 | 6e 74 20 6f 66 20 66 69 | itemCou|nt of fi|
|00001670| 65 6c 64 20 22 64 61 74 | 61 22 c2 0d 66 72 6f 6d |eld "dat|a"..from|
|00001680| 20 70 61 73 74 56 61 6c | 75 65 31 0d 73 75 62 74 | pastVal|ue1.subt|
|00001690| 72 61 63 74 20 31 20 66 | 72 6f 6d 20 69 74 65 6d |ract 1 f|rom item|
|000016a0| 43 6f 75 6e 74 0d 70 75 | 74 20 69 74 65 6d 20 68 |Count.pu|t item h|
|000016b0| 69 67 68 49 74 65 6d 20 | 6f 66 20 6c 69 6e 65 20 |ighItem |of line |
|000016c0| 69 74 65 6d 43 6f 75 6e | 74 20 6f 66 20 66 69 65 |itemCoun|t of fie|
|000016d0| 6c 64 20 22 64 61 74 61 | 22 c2 0d 69 6e 74 6f 20 |ld "data|"..into |
|000016e0| 70 61 73 74 56 61 6c 75 | 65 32 0d 73 75 62 74 72 |pastValu|e2.subtr|
|000016f0| 61 63 74 20 69 74 65 6d | 20 6c 6f 77 49 74 65 6d |act item| lowItem|
|00001700| 20 6f 66 20 6c 69 6e 65 | 20 69 74 65 6d 43 6f 75 | of line| itemCou|
|00001710| 6e 74 20 6f 66 20 66 69 | 65 6c 64 20 22 64 61 74 |nt of fi|eld "dat|
|00001720| 61 22 c2 0d 66 72 6f 6d | 20 70 61 73 74 56 61 6c |a"..from| pastVal|
|00001730| 75 65 32 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 41 |ue2.end |if.put A|
|00001740| 76 67 20 69 6e 74 6f 20 | 41 76 67 61 0d 73 75 62 |vg into |Avga.sub|
|00001750| 74 72 61 63 74 20 65 6e | 64 56 61 6c 75 65 31 20 |tract en|dValue1 |
|00001760| 66 72 6f 6d 20 41 76 67 | 61 0d 61 64 64 20 70 61 |from Avg|a.add pa|
|00001770| 73 74 56 61 6c 75 65 31 | 20 74 6f 20 41 76 67 61 |stValue1| to Avga|
|00001780| 0d 70 75 74 20 41 76 67 | 61 20 69 6e 74 6f 20 41 |.put Avg|a into A|
|00001790| 76 67 62 0d 73 75 62 74 | 72 61 63 74 20 65 6e 64 |vgb.subt|ract end|
|000017a0| 56 61 6c 75 65 32 20 66 | 72 6f 6d 20 41 76 67 62 |Value2 f|rom Avgb|
|000017b0| 0d 61 64 64 20 70 61 73 | 74 56 61 6c 75 65 32 20 |.add pas|tValue2 |
|000017c0| 74 6f 20 41 76 67 62 0d | 70 75 74 20 30 20 69 6e |to Avgb.|put 0 in|
|000017d0| 74 6f 20 69 63 6f 6e 4e | 72 0d 69 66 20 41 76 67 |to iconN|r.if Avg|
|000017e0| 20 3e 20 41 76 67 61 20 | 74 68 65 6e 0d 69 66 20 | > Avga |then.if |
|000017f0| 41 76 67 61 3e 41 76 67 | 62 20 74 68 65 6e 0d 70 |Avga>Avg|b then.p|
|00001800| 75 74 20 75 70 41 72 72 | 6f 77 20 69 6e 74 6f 20 |ut upArr|ow into |
|00001810| 69 63 6f 6e 4e 72 0d 65 | 6e 64 20 69 66 0d 65 6c |iconNr.e|nd if.el|
|00001820| 73 65 0d 69 66 20 41 76 | 67 20 3c 20 41 76 67 61 |se.if Av|g < Avga|
|00001830| 20 74 68 65 6e 0d 69 66 | 20 41 76 67 61 20 3c 20 | then.if| Avga < |
|00001840| 41 76 67 62 20 74 68 65 | 6e 0d 70 75 74 20 64 6f |Avgb the|n.put do|
|00001850| 77 6e 41 72 72 6f 77 20 | 69 6e 74 6f 20 69 63 6f |wnArrow |into ico|
|00001860| 6e 4e 72 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |nNr.end |if.end i|
|00001870| 66 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 70 75 |f.end if|.else.pu|
|00001880| 74 20 30 20 69 6e 74 6f | 20 69 63 6f 6e 4e 72 0d |t 0 into| iconNr.|
|00001890| 65 6e 64 20 69 66 0d 70 | 75 74 20 69 63 6f 6e 4e |end if.p|ut iconN|
|000018a0| 72 20 69 6e 74 6f 20 6c | 69 6e 65 20 61 76 67 4e |r into l|ine avgN|
|000018b0| 72 20 6f 66 20 66 69 65 | 6c 64 20 22 44 69 72 65 |r of fie|ld "Dire|
|000018c0| 63 74 69 6f 6e 73 22 0d | 61 72 72 6f 77 44 69 72 |ctions".|arrowDir|
|000018d0| 65 63 74 69 6f 6e 20 61 | 76 67 4e 72 0d 65 6e 64 |ection a|vgNr.end|
|000018e0| 20 4d 6f 76 69 6e 67 41 | 76 65 72 61 67 65 0d 0d | MovingA|verage..|
|000018f0| 6f 6e 20 43 6c 65 61 72 | 46 69 65 6c 64 73 0d 70 |on Clear|Fields.p|
|00001900| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 66 69 |ut empty| into fi|
|00001910| 65 6c 64 20 22 44 61 74 | 65 20 6f 66 20 4c 61 73 |eld "Dat|e of Las|
|00001920| 74 20 55 70 64 61 74 65 | 22 0d 70 75 74 20 65 6d |t Update|".put em|
|00001930| 70 74 79 20 69 6e 74 6f | 20 66 69 65 6c 64 20 22 |pty into| field "|
|00001940| 68 69 67 68 22 0d 70 75 | 74 20 65 6d 70 74 79 20 |high".pu|t empty |
|00001950| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 6c 6f 77 22 |into fie|ld "low"|
|00001960| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00001970| 66 69 65 6c 64 20 22 63 | 6c 6f 73 65 22 0d 70 75 |field "c|lose".pu|
|00001980| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 66 69 65 |t empty |into fie|
|00001990| 6c 64 20 22 41 76 65 72 | 61 67 65 20 31 22 0d 70 |ld "Aver|age 1".p|
|000019a0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 66 69 |ut empty| into fi|
|000019b0| 65 6c 64 20 22 41 76 65 | 72 61 67 65 20 32 22 0d |eld "Ave|rage 2".|
|000019c0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 66 |put empt|y into f|
|000019d0| 69 65 6c 64 20 22 41 76 | 65 72 61 67 65 20 33 22 |ield "Av|erage 3"|
|000019e0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|000019f0| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 66 69 65 6c |of lines| of fiel|
|00001a00| 64 20 22 64 61 74 61 22 | 20 69 6e 74 6f 20 6c 69 |d "data"| into li|
|00001a10| 6e 65 43 6f 75 6e 74 0d | 72 65 70 65 61 74 20 77 |neCount.|repeat w|
|00001a20| 69 74 68 20 69 3d 31 20 | 74 6f 20 33 0d 70 75 74 |ith i=1 |to 3.put|
|00001a30| 20 30 20 69 6e 74 6f 20 | 6c 69 6e 65 20 69 20 6f | 0 into |line i o|
|00001a40| 66 20 66 69 65 6c 64 20 | 22 44 69 72 65 63 74 69 |f field |"Directi|
|00001a50| 6f 6e 73 22 0d 61 72 72 | 6f 77 44 69 72 65 63 74 |ons".arr|owDirect|
|00001a60| 69 6f 6e 20 69 0d 65 6e | 64 20 72 65 70 65 61 74 |ion i.en|d repeat|
|00001a70| 0d 65 6e 64 20 43 6c 65 | 61 72 46 69 65 6c 64 73 |.end Cle|arFields|
|00001a80| 0d 0d 6f 6e 20 54 72 69 | 6d 44 61 74 61 50 6f 69 |..on Tri|mDataPoi|
|00001a90| 6e 74 73 20 20 2d 2d 20 | 52 65 64 75 63 65 20 64 |nts -- |Reduce d|
|00001aa0| 61 74 61 20 70 6f 69 6e | 74 73 20 74 6f 20 6d 61 |ata poin|ts to ma|
|00001ab0| 78 44 61 74 61 50 6f 69 | 6e 74 73 0d 67 6c 6f 62 |xDataPoi|nts.glob|
|00001ac0| 61 6c 20 6d 61 78 44 61 | 74 61 50 6f 69 6e 74 73 |al maxDa|taPoints|
|00001ad0| 2c 6c 69 6e 65 43 6f 75 | 6e 74 0d 72 65 70 65 61 |,lineCou|nt.repea|
|00001ae0| 74 20 77 68 69 6c 65 20 | 6c 61 73 74 20 6c 69 6e |t while |last lin|
|00001af0| 65 20 6f 66 20 66 69 65 | 6c 64 20 22 64 61 74 61 |e of fie|ld "data|
|00001b00| 22 20 69 73 20 65 6d 70 | 74 79 0d 64 65 6c 65 74 |" is emp|ty.delet|
|00001b10| 65 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 66 |e last l|ine of f|
|00001b20| 69 65 6c 64 20 22 64 61 | 74 61 22 0d 65 6e 64 20 |ield "da|ta".end |
|00001b30| 72 65 70 65 61 74 0d 72 | 65 70 65 61 74 20 77 68 |repeat.r|epeat wh|
|00001b40| 69 6c 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |ile numb|er of li|
|00001b50| 6e 65 73 20 6f 66 20 66 | 69 65 6c 64 20 22 64 61 |nes of f|ield "da|
|00001b60| 74 61 22 20 3e 20 6d 61 | 78 44 61 74 61 50 6f 69 |ta" > ma|xDataPoi|
|00001b70| 6e 74 73 0d 64 65 6c 65 | 74 65 20 6c 69 6e 65 20 |nts.dele|te line |
|00001b80| 31 20 6f 66 20 66 69 65 | 6c 64 20 22 64 61 74 61 |1 of fie|ld "data|
|00001b90| 22 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 70 75 74 |".end re|peat.put|
|00001ba0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00001bb0| 69 6e 65 73 20 6f 66 20 | 66 69 65 6c 64 20 22 64 |ines of |field "d|
|00001bc0| 61 74 61 22 20 69 6e 74 | 6f 20 6c 69 6e 65 43 6f |ata" int|o lineCo|
|00001bd0| 75 6e 74 0d 65 6e 64 20 | 54 72 69 6d 44 61 74 61 |unt.end |TrimData|
|00001be0| 50 6f 69 6e 74 73 0d 0d | 6f 6e 20 53 65 74 66 6f |Points..|on Setfo|
|00001bf0| 72 55 70 64 61 74 65 0d | 67 6c 6f 62 61 6c 20 6f |rUpdate.|global o|
|00001c00| 70 65 72 61 74 69 6f 6e | 4d 6f 64 65 2c 64 61 74 |peration|Mode,dat|
|00001c10| 65 66 6f 72 55 70 64 61 | 74 65 2c 6c 69 6e 65 43 |eforUpda|te,lineC|
|00001c20| 6f 75 6e 74 0d 69 66 20 | 6f 70 65 72 61 74 69 6f |ount.if |operatio|
|00001c30| 6e 4d 6f 64 65 3d 22 55 | 70 64 61 74 65 22 20 74 |nMode="U|pdate" t|
|00001c40| 68 65 6e 0d 69 66 20 64 | 61 74 65 66 6f 72 55 70 |hen.if d|ateforUp|
|00001c50| 64 61 74 65 ad 69 74 65 | 6d 20 31 20 6f 66 20 6c |date.ite|m 1 of l|
|00001c60| 69 6e 65 20 6c 69 6e 65 | 43 6f 75 6e 74 20 6f 66 |ine line|Count of|
|00001c70| 20 66 69 65 6c 64 20 22 | 64 61 74 61 22 20 74 68 | field "|data" th|
|00001c80| 65 6e 0d 67 65 74 20 6c | 69 6e 65 20 6c 69 6e 65 |en.get l|ine line|
|00001c90| 43 6f 75 6e 74 20 6f 66 | 20 66 69 65 6c 64 20 22 |Count of| field "|
|00001ca0| 64 61 74 61 22 0d 70 75 | 74 20 69 74 26 72 65 74 |data".pu|t it&ret|
|00001cb0| 75 72 6e 26 64 61 74 65 | 66 6f 72 55 70 64 61 74 |urn&date|forUpdat|
|00001cc0| 65 20 69 6e 74 6f 20 6c | 69 6e 65 20 6c 69 6e 65 |e into l|ine line|
|00001cd0| 43 6f 75 6e 74 20 6f 66 | 20 66 69 65 6c 64 20 22 |Count of| field "|
|00001ce0| 64 61 74 61 22 0d 61 64 | 64 20 31 20 74 6f 20 6c |data".ad|d 1 to l|
|00001cf0| 69 6e 65 43 6f 75 6e 74 | 0d 67 65 74 20 6c 69 6e |ineCount|.get lin|
|00001d00| 65 20 6c 69 6e 65 43 6f | 75 6e 74 20 6f 66 20 66 |e lineCo|unt of f|
|00001d10| 69 65 6c 64 20 22 64 61 | 74 61 22 0d 70 75 74 20 |ield "da|ta".put |
|00001d20| 69 74 26 22 2c 22 20 69 | 6e 74 6f 20 6c 69 6e 65 |it&"," i|nto line|
|00001d30| 20 6c 69 6e 65 43 6f 75 | 6e 74 20 6f 66 20 66 69 | lineCou|nt of fi|
|00001d40| 65 6c 64 20 22 64 61 74 | 61 22 0d 70 75 74 20 6c |eld "dat|a".put l|
|00001d50| 69 6e 65 43 6f 75 6e 74 | 2d 34 20 69 6e 74 6f 20 |ineCount|-4 into |
|00001d60| 73 63 72 6f 6c 6c 65 64 | 4c 69 6e 65 73 0d 69 66 |scrolled|Lines.if|
|00001d70| 20 73 63 72 6f 6c 6c 65 | 64 4c 69 6e 65 73 3e 30 | scrolle|dLines>0|
|00001d80| 20 74 68 65 6e 0d 6d 75 | 6c 74 69 70 6c 79 20 73 | then.mu|ltiply s|
|00001d90| 63 72 6f 6c 6c 65 64 4c | 69 6e 65 73 20 62 79 20 |crolledL|ines by |
|00001da0| 74 68 65 20 74 65 78 74 | 68 65 69 67 68 74 20 6f |the text|height o|
|00001db0| 66 20 66 69 65 6c 64 20 | 22 44 61 74 61 22 0d 73 |f field |"Data".s|
|00001dc0| 65 74 20 74 68 65 20 73 | 63 72 6f 6c 6c 20 6f 66 |et the s|croll of|
|00001dd0| 20 66 69 65 6c 64 20 22 | 44 61 74 61 22 20 74 6f | field "|Data" to|
|00001de0| 20 73 63 72 6f 6c 6c 65 | 64 4c 69 6e 65 73 0d 65 | scrolle|dLines.e|
|00001df0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6c 73 |nd if.en|d if.els|
|00001e00| 65 0d 70 75 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |e.put nu|mber of |
|00001e10| 6c 69 6e 65 73 20 6f 66 | 20 66 69 65 6c 64 20 22 |lines of| field "|
|00001e20| 64 61 74 61 22 20 69 6e | 74 6f 20 6c 69 6e 65 43 |data" in|to lineC|
|00001e30| 6f 75 6e 74 0d 69 66 20 | 6c 69 6e 65 43 6f 75 6e |ount.if |lineCoun|
|00001e40| 74 3e 31 20 74 68 65 6e | 0d 73 63 72 6f 6c 6c 74 |t>1 then|.scrollt|
|00001e50| 6f 4c 61 73 74 4c 69 6e | 65 0d 65 6e 64 20 69 66 |oLastLin|e.end if|
|00001e60| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 53 65 74 66 |.end if.|end Setf|
|00001e70| 6f 72 55 70 64 61 74 65 | 0d 0d 6f 6e 20 51 75 69 |orUpdate|..on Qui|
|00001e80| 63 6b 55 70 64 61 74 65 | 0d 67 6c 6f 62 61 6c 20 |ckUpdate|.global |
|00001e90| 64 61 74 65 66 6f 72 55 | 70 64 61 74 65 2c 6c 69 |dateforU|pdate,li|
|00001ea0| 6e 65 43 6f 75 6e 74 2c | 63 61 72 64 4e 72 2c 75 |neCount,|cardNr,u|
|00001eb0| 70 64 61 74 65 46 6c 61 | 67 0d 67 6c 6f 62 61 6c |pdateFla|g.global|
|00001ec0| 20 55 70 64 61 74 65 4e | 61 6d 65 0d 2d 2d 20 41 | UpdateN|ame.-- A|
|00001ed0| 73 73 75 6d 65 73 20 61 | 74 20 63 61 72 64 20 63 |ssumes a|t card c|
|00001ee0| 61 72 64 4e 72 2c 20 6e | 6f 20 61 73 73 75 6d 70 |ardNr, n|o assump|
|00001ef0| 74 69 6f 6e 0d 70 75 74 | 20 22 73 6b 69 70 22 20 |tion.put| "skip" |
|00001f00| 69 6e 74 6f 20 75 70 64 | 61 74 65 46 6c 61 67 0d |into upd|ateFlag.|
|00001f10| 70 75 74 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 61 |put numb|er of ca|
|00001f20| 72 64 73 20 69 6e 74 6f | 20 63 61 72 64 43 6f 75 |rds into| cardCou|
|00001f30| 6e 74 0d 67 65 74 20 6c | 61 73 74 20 6c 69 6e 65 |nt.get l|ast line|
|00001f40| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|00001f50| 20 6f 66 20 63 61 72 64 | 20 63 61 72 64 4e 72 0d | of card| cardNr.|
|00001f60| 2d 2d 20 42 79 70 61 73 | 73 20 63 68 61 72 74 73 |-- Bypas|s charts|
|00001f70| 20 61 6c 72 65 61 64 79 | 20 75 70 64 61 74 65 64 | already| updated|
|00001f80| 0d 72 65 70 65 61 74 20 | 77 68 69 6c 65 20 28 64 |.repeat |while (d|
|00001f90| 61 74 65 66 6f 72 55 70 | 64 61 74 65 3c 3d 69 74 |ateforUp|date<=it|
|00001fa0| 65 6d 20 31 20 6f 66 20 | 69 74 29 20 61 6e 64 20 |em 1 of |it) and |
|00001fb0| 28 63 61 72 64 4e 72 3c | 3d 63 61 72 64 43 6f 75 |(cardNr<|=cardCou|
|00001fc0| 6e 74 29 0d 61 64 64 20 | 31 20 74 6f 20 63 61 72 |nt).add |1 to car|
|00001fd0| 64 4e 72 0d 69 66 20 63 | 61 72 64 4e 72 3c 3d 63 |dNr.if c|ardNr<=c|
|00001fe0| 61 72 64 43 6f 75 6e 74 | 20 74 68 65 6e 0d 67 65 |ardCount| then.ge|
|00001ff0| 74 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 66 |t last l|ine of f|
|00002000| 69 65 6c 64 20 22 64 61 | 74 61 22 20 6f 66 20 63 |ield "da|ta" of c|
|00002010| 61 72 64 20 63 61 72 64 | 4e 72 0d 65 6e 64 20 69 |ard card|Nr.end i|
|00002020| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 69 66 20 |f.end re|peat.if |
|00002030| 63 61 72 64 6e 72 3c 3d | 63 61 72 64 43 6f 75 6e |cardnr<=|cardCoun|
|00002040| 74 20 74 68 65 6e 0d 70 | 75 74 20 66 69 65 6c 64 |t then.p|ut field|
|00002050| 20 22 53 74 6f 63 6b 20 | 53 79 6d 62 6f 6c 22 20 | "Stock |Symbol" |
|00002060| 6f 66 20 63 61 72 64 20 | 63 61 72 64 4e 72 20 69 |of card |cardNr i|
|00002070| 6e 74 6f 20 53 74 6f 63 | 6b 53 79 6d 62 6f 6c 0d |nto Stoc|kSymbol.|
|00002080| 70 75 74 20 66 69 65 6c | 64 20 22 53 74 6f 63 6b |put fiel|d "Stock|
|00002090| 20 4e 61 6d 65 22 20 6f | 66 20 63 61 72 64 20 63 | Name" o|f card c|
|000020a0| 61 72 64 4e 72 20 69 6e | 74 6f 20 53 74 6f 63 6b |ardNr in|to Stock|
|000020b0| 4e 61 6d 65 0d 73 65 74 | 20 6c 6f 63 6b 53 63 72 |Name.set| lockScr|
|000020c0| 65 65 6e 20 74 6f 20 66 | 61 6c 73 65 0d 70 75 74 |een to f|alse.put|
|000020d0| 20 53 74 6f 63 6b 53 79 | 6d 62 6f 6c 20 69 6e 74 | StockSy|mbol int|
|000020e0| 6f 20 66 69 65 6c 64 20 | 22 53 79 6d 62 6f 6c 22 |o field |"Symbol"|
|000020f0| 20 6f 66 20 63 61 72 64 | 20 75 70 64 61 74 65 4e | of card| updateN|
|00002100| 61 6d 65 0d 70 75 74 20 | 53 74 6f 63 6b 4e 61 6d |ame.put |StockNam|
|00002110| 65 20 69 6e 74 6f 20 66 | 69 65 6c 64 20 22 4e 61 |e into f|ield "Na|
|00002120| 6d 65 22 20 6f 66 20 63 | 61 72 64 20 75 70 64 61 |me" of c|ard upda|
|00002130| 74 65 4e 61 6d 65 0d 2d | 2d 20 69 74 20 69 73 20 |teName.-|- it is |
|00002140| 6c 61 73 74 20 6c 69 6e | 65 20 6f 66 20 66 69 65 |last lin|e of fie|
|00002150| 6c 64 20 22 44 61 74 61 | 22 0d 70 75 74 20 69 74 |ld "Data|".put it|
|00002160| 65 6d 20 31 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |em 1 of |it into |
|00002170| 66 69 65 6c 64 20 22 4c | 61 73 74 20 57 65 65 6b |field "L|ast Week|
|00002180| 22 20 6f 66 20 63 61 72 | 64 20 75 70 64 61 74 65 |" of car|d update|
|00002190| 4e 61 6d 65 0d 64 65 6c | 65 74 65 20 69 74 65 6d |Name.del|ete item|
|000021a0| 20 31 20 6f 66 20 69 74 | 0d 70 75 74 20 69 74 20 | 1 of it|.put it |
|000021b0| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 4c 61 73 74 |into fie|ld "Last|
|000021c0| 20 57 65 65 6b 27 73 20 | 50 72 69 63 65 73 22 20 | Week's |Prices" |
|000021d0| 6f 66 20 63 61 72 64 20 | 75 70 64 61 74 65 4e 61 |of card |updateNa|
|000021e0| 6d 65 0d 70 75 74 20 64 | 61 74 65 66 6f 72 55 70 |me.put d|ateforUp|
|000021f0| 64 61 74 65 20 69 6e 74 | 6f 20 66 69 65 6c 64 20 |date int|o field |
|00002200| 22 54 68 69 73 20 57 65 | 65 6b 22 20 6f 66 20 63 |"This We|ek" of c|
|00002210| 61 72 64 20 75 70 64 61 | 74 65 4e 61 6d 65 0d 70 |ard upda|teName.p|
|00002220| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 66 69 |ut empty| into fi|
|00002230| 65 6c 64 20 22 54 68 69 | 73 20 57 65 65 6b 27 73 |eld "Thi|s Week's|
|00002240| 20 50 72 69 63 65 73 22 | 20 6f 66 20 63 61 72 64 | Prices"| of card|
|00002250| 20 75 70 64 61 74 65 4e | 61 6d 65 0d 70 75 74 20 | updateN|ame.put |
|00002260| 22 4f 4b 22 20 69 6e 74 | 6f 20 75 70 64 61 74 65 |"OK" int|o update|
|00002270| 46 6c 61 67 0d 65 6e 64 | 20 69 66 20 2d 2d 20 63 |Flag.end| if -- c|
|00002280| 61 72 64 6e 72 3c 3d 63 | 61 72 64 43 6f 75 6e 74 |ardnr<=c|ardCount|
|00002290| 0d 65 6e 64 20 51 75 69 | 63 6b 55 70 64 61 74 65 |.end Qui|ckUpdate|
|000022a0| 0d 0d 6f 6e 20 73 70 6c | 69 74 20 6f 6c 64 50 72 |..on spl|it oldPr|
|000022b0| 69 63 65 2c 6e 65 77 50 | 72 69 63 65 0d 67 6c 6f |ice,newP|rice.glo|
|000022c0| 62 61 6c 20 6c 69 6e 65 | 43 6f 75 6e 74 0d 73 65 |bal line|Count.se|
|000022d0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 34 0d 41 6e |t cursor| to 4.An|
|000022e0| 73 77 65 72 20 22 49 73 | 20 76 6f 6c 75 6d 65 20 |swer "Is| volume |
|000022f0| 69 6e 63 6c 75 64 65 64 | 20 69 6e 20 65 61 63 68 |included| in each|
|00002300| 20 6c 69 6e 65 3f 22 20 | 77 69 74 68 20 22 4e 6f | line?" |with "No|
|00002310| 22 20 6f 72 20 22 59 65 | 73 22 0d 69 66 20 69 74 |" or "Ye|s".if it|
|00002320| 20 69 73 20 22 59 65 73 | 22 20 74 68 65 6e 0d 70 | is "Yes|" then.p|
|00002330| 75 74 20 33 20 69 6e 74 | 6f 20 66 69 72 73 74 50 |ut 3 int|o firstP|
|00002340| 72 69 63 65 0d 65 6c 73 | 65 0d 70 75 74 20 32 20 |rice.els|e.put 2 |
|00002350| 69 6e 74 6f 20 66 69 72 | 73 74 50 72 69 63 65 0d |into fir|stPrice.|
|00002360| 65 6e 64 20 69 66 0d 70 | 75 74 20 6c 69 6e 65 43 |end if.p|ut lineC|
|00002370| 6f 75 6e 74 20 69 6e 74 | 6f 20 73 70 6c 69 74 4c |ount int|o splitL|
|00002380| 69 6e 65 73 0d 41 6e 73 | 77 65 72 20 22 49 6e 63 |ines.Ans|wer "Inc|
|00002390| 6c 75 64 65 20 6c 61 73 | 74 20 6c 69 6e 65 20 69 |lude las|t line i|
|000023a0| 6e 20 73 70 6c 69 74 3f | 22 20 77 69 74 68 20 22 |n split?|" with "|
|000023b0| 59 65 73 22 20 6f 72 20 | 22 4e 6f 22 0d 69 66 20 |Yes" or |"No".if |
|000023c0| 69 74 20 69 73 20 22 4e | 6f 22 20 74 68 65 6e 20 |it is "N|o" then |
|000023d0| 73 75 62 74 72 61 63 74 | 20 31 20 66 72 6f 6d 20 |subtract| 1 from |
|000023e0| 73 70 6c 69 74 4c 69 6e | 65 73 0d 70 75 74 20 6e |splitLin|es.put n|
|000023f0| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 69 |umber of| items i|
|00002400| 6e 20 6c 69 6e 65 20 31 | 20 6f 66 20 66 69 65 6c |n line 1| of fiel|
|00002410| 64 20 22 64 61 74 61 22 | 20 69 6e 74 6f 20 69 74 |d "data"| into it|
|00002420| 65 6d 43 6f 75 6e 74 0d | 72 65 70 65 61 74 20 77 |emCount.|repeat w|
|00002430| 69 74 68 20 69 3d 31 20 | 74 6f 20 73 70 6c 69 74 |ith i=1 |to split|
|00002440| 4c 69 6e 65 73 0d 73 65 | 74 20 63 75 72 73 6f 72 |Lines.se|t cursor|
|00002450| 20 74 6f 20 62 75 73 79 | 0d 72 65 70 65 61 74 20 | to busy|.repeat |
|00002460| 77 69 74 68 20 6a 3d 66 | 69 72 73 74 50 72 69 63 |with j=f|irstPric|
|00002470| 65 20 74 6f 20 69 74 65 | 6d 43 6f 75 6e 74 0d 67 |e to ite|mCount.g|
|00002480| 65 74 20 69 74 65 6d 20 | 6a 20 6f 66 20 6c 69 6e |et item |j of lin|
|00002490| 65 20 69 20 6f 66 20 66 | 69 65 6c 64 20 22 64 61 |e i of f|ield "da|
|000024a0| 74 61 22 0d 70 75 74 20 | 72 6f 75 6e 64 28 31 30 |ta".put |round(10|
|000024b0| 30 2a 69 74 2a 6e 65 77 | 50 72 69 63 65 2f 6f 6c |0*it*new|Price/ol|
|000024c0| 64 50 72 69 63 65 29 2f | 31 30 30 20 69 6e 74 6f |dPrice)/|100 into|
|000024d0| 20 69 74 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 | it.put |it into |
|000024e0| 69 74 65 6d 20 6a 20 6f | 66 20 6c 69 6e 65 20 69 |item j o|f line i|
|000024f0| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|00002500| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00002510| 72 65 70 65 61 74 0d 69 | 66 20 66 69 72 73 74 50 |repeat.i|f firstP|
|00002520| 72 69 63 65 3d 33 20 74 | 68 65 6e 20 2d 2d 20 41 |rice=3 t|hen -- A|
|00002530| 64 6a 75 73 74 20 76 6f | 6c 75 6d 65 0d 72 65 70 |djust vo|lume.rep|
|00002540| 65 61 74 20 77 69 74 68 | 20 69 3d 31 20 74 6f 20 |eat with| i=1 to |
|00002550| 73 70 6c 69 74 4c 69 6e | 65 73 0d 73 65 74 20 63 |splitLin|es.set c|
|00002560| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 67 65 |ursor to| busy.ge|
|00002570| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 6c 69 6e 65 |t item 2| of line|
|00002580| 20 69 20 6f 66 20 66 69 | 65 6c 64 20 22 64 61 74 | i of fi|eld "dat|
|00002590| 61 22 0d 70 75 74 20 72 | 6f 75 6e 64 28 69 74 2a |a".put r|ound(it*|
|000025a0| 6f 6c 64 50 72 69 63 65 | 2f 6e 65 77 50 72 69 63 |oldPrice|/newPric|
|000025b0| 65 29 20 69 6e 74 6f 20 | 69 74 0d 70 75 74 20 69 |e) into |it.put i|
|000025c0| 74 20 69 6e 74 6f 20 69 | 74 65 6d 20 32 20 6f 66 |t into i|tem 2 of|
|000025d0| 20 6c 69 6e 65 20 69 20 | 6f 66 20 66 69 65 6c 64 | line i |of field|
|000025e0| 20 22 64 61 74 61 22 0d | 65 6e 64 20 72 65 70 65 | "data".|end repe|
|000025f0| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 73 70 |at.end i|f.end sp|
|00002600| 6c 69 74 0d 0d 6f 6e 20 | 43 6f 70 79 43 68 61 72 |lit..on |CopyChar|
|00002610| 74 73 0d 67 6c 6f 62 61 | 6c 20 66 69 72 73 74 43 |ts.globa|l firstC|
|00002620| 68 61 72 74 2c 74 69 74 | 6c 65 43 61 72 64 2c 63 |hart,tit|leCard,c|
|00002630| 6f 70 79 69 6e 67 43 68 | 61 72 74 73 2c 6c 61 73 |opyingCh|arts,las|
|00002640| 74 43 6f 70 79 54 69 6d | 65 0d 67 6c 6f 62 61 6c |tCopyTim|e.global|
|00002650| 20 73 74 6f 63 6b 54 65 | 6d 70 6c 61 74 65 2c 41 | stockTe|mplate,A|
|00002660| 44 54 65 6d 70 6c 61 74 | 65 0d 70 75 74 20 36 20 |DTemplat|e.put 6 |
|00002670| 69 6e 74 6f 20 73 74 6f | 63 6b 54 65 6d 70 6c 61 |into sto|ckTempla|
|00002680| 74 65 0d 70 75 74 20 37 | 20 69 6e 74 6f 20 41 44 |te.put 7| into AD|
|00002690| 54 65 6d 70 6c 61 74 65 | 0d 41 73 6b 20 22 43 6f |Template|.Ask "Co|
|000026a0| 70 79 20 63 68 61 72 74 | 73 20 66 72 6f 6d 3a 22 |py chart|s from:"|
|000026b0| 20 77 69 74 68 20 22 53 | 74 6f 63 6b 20 48 45 4c | with "S|tock HEL|
|000026c0| 50 45 52 a8 20 56 30 2e | 35 22 0d 69 66 20 69 74 |PER. V0.|5".if it|
|000026d0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|000026e0| 65 6e 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6f |en.put i|t into o|
|000026f0| 6c 64 53 74 61 63 6b 0d | 70 75 74 20 74 68 65 20 |ldStack.|put the |
|00002700| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|00002710| 63 6b 20 69 6e 74 6f 20 | 73 61 76 65 53 74 61 63 |ck into |saveStac|
|00002720| 6b 0d 70 75 74 20 74 68 | 65 20 73 68 6f 72 74 20 |k.put th|e short |
|00002730| 49 44 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |ID of th|is card |
|00002740| 69 6e 74 6f 20 73 61 76 | 65 43 61 72 64 0d 70 75 |into sav|eCard.pu|
|00002750| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 63 6f 70 79 |t true i|nto copy|
|00002760| 69 6e 67 43 68 61 72 74 | 73 20 2d 2d 20 70 72 65 |ingChart|s -- pre|
|00002770| 76 65 6e 74 20 63 6f 6d | 70 61 63 74 69 6e 67 20 |vent com|pacting |
|00002780| 73 74 61 63 6b 0d 73 65 | 74 20 6c 6f 63 6b 53 63 |stack.se|t lockSc|
|00002790| 72 65 65 6e 20 74 6f 20 | 74 72 75 65 0d 67 6f 20 |reen to |true.go |
|000027a0| 6f 6c 64 53 74 61 63 6b | 0d 70 75 74 20 74 68 65 |oldStack|.put the|
|000027b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 61 72 64 73 | number |of cards|
|000027c0| 20 69 6e 74 6f 20 74 6f | 74 61 6c 0d 72 65 70 65 | into to|tal.repe|
|000027d0| 61 74 20 77 69 74 68 20 | 69 20 3d 20 66 69 72 73 |at with |i = firs|
|000027e0| 74 43 68 61 72 74 20 74 | 6f 20 74 6f 74 61 6c 20 |tChart t|o total |
|000027f0| 2d 2d 20 66 69 72 73 74 | 43 68 61 72 74 20 69 73 |-- first|Chart is|
|00002800| 20 66 72 6f 6d 20 6f 6c | 64 53 74 61 63 6b 0d 70 | from ol|dStack.p|
|00002810| 75 74 20 74 68 65 20 73 | 65 63 6f 6e 64 73 20 69 |ut the s|econds i|
|00002820| 6e 74 6f 20 6c 61 73 74 | 43 6f 70 79 54 69 6d 65 |nto last|CopyTime|
|00002830| 0d 67 6f 20 63 61 72 64 | 20 69 20 6f 66 20 6f 6c |.go card| i of ol|
|00002840| 64 53 74 61 63 6b 0d 70 | 75 74 20 22 43 6f 70 79 |dStack.p|ut "Copy|
|00002850| 69 6e 67 22 26 26 66 69 | 65 6c 64 20 22 53 74 6f |ing"&&fi|eld "Sto|
|00002860| 63 6b 20 4e 61 6d 65 22 | 26 26 22 43 68 61 72 74 |ck Name"|&&"Chart|
|00002870| 22 26 26 69 2d 66 69 72 | 73 74 43 68 61 72 74 2b |"&&i-fir|stChart+|
|00002880| 31 c2 0d 26 26 22 6f 66 | 22 26 26 74 6f 74 61 6c |1..&&"of|"&&total|
|00002890| 2d 66 69 72 73 74 43 68 | 61 72 74 2b 31 0d 70 75 |-firstCh|art+1.pu|
|000028a0| 74 20 66 69 65 6c 64 20 | 22 53 74 6f 63 6b 20 53 |t field |"Stock S|
|000028b0| 79 6d 62 6f 6c 22 20 69 | 6e 74 6f 20 6f 6c 64 73 |ymbol" i|nto olds|
|000028c0| 79 6d 62 6f 6c 0d 70 75 | 74 20 66 69 65 6c 64 20 |ymbol.pu|t field |
|000028d0| 22 53 74 6f 63 6b 20 4e | 61 6d 65 22 20 69 6e 74 |"Stock N|ame" int|
|000028e0| 6f 20 6f 6c 64 4e 61 6d | 65 0d 70 75 74 20 66 69 |o oldNam|e.put fi|
|000028f0| 65 6c 64 20 22 44 61 74 | 61 22 20 69 6e 74 6f 20 |eld "Dat|a" into |
|00002900| 6f 6c 64 44 61 74 61 0d | 70 75 74 20 73 68 6f 72 |oldData.|put shor|
|00002910| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 62 |t name o|f this b|
|00002920| 61 63 6b 67 72 6f 75 6e | 64 20 69 6e 74 6f 20 6f |ackgroun|d into o|
|00002930| 6c 64 42 61 63 6b 67 72 | 6f 75 6e 64 0d 69 66 20 |ldBackgr|ound.if |
|00002940| 6f 6c 64 42 61 63 6b 67 | 72 6f 75 6e 64 20 69 73 |oldBackg|round is|
|00002950| 20 22 53 74 6f 63 6b 20 | 43 68 61 72 74 22 20 74 | "Stock |Chart" t|
|00002960| 68 65 6e 0d 67 6f 20 63 | 61 72 64 20 53 74 6f 63 |hen.go c|ard Stoc|
|00002970| 6b 54 65 6d 70 6c 61 74 | 65 20 6f 66 20 73 61 76 |kTemplat|e of sav|
|00002980| 65 53 74 61 63 6b 0d 65 | 6c 73 65 0d 69 66 20 6f |eStack.e|lse.if o|
|00002990| 6c 64 42 61 63 6b 67 72 | 6f 75 6e 64 20 69 73 20 |ldBackgr|ound is |
|000029a0| 22 41 64 76 61 6e 63 65 | 2d 44 65 63 6c 69 6e 65 |"Advance|-Decline|
|000029b0| 20 43 68 61 72 74 22 20 | 74 68 65 6e 0d 70 75 74 | Chart" |then.put|
|000029c0| 20 66 69 65 6c 64 20 22 | 42 61 73 65 20 56 61 6c | field "|Base Val|
|000029d0| 75 65 22 20 69 6e 74 6f | 20 6f 6c 64 42 61 73 65 |ue" into| oldBase|
|000029e0| 56 61 6c 75 65 0d 67 6f | 20 63 61 72 64 20 41 44 |Value.go| card AD|
|000029f0| 54 65 6d 70 6c 61 74 65 | 20 6f 66 20 73 61 76 65 |Template| of save|
|00002a00| 53 74 61 63 6b 0d 65 6c | 73 65 0d 41 6e 73 77 65 |Stack.el|se.Answe|
|00002a10| 72 20 22 57 72 6f 6e 67 | 20 63 68 61 72 74 20 74 |r "Wrong| chart t|
|00002a20| 79 70 65 20 74 6f 20 62 | 65 20 63 6f 70 69 65 64 |ype to b|e copied|
|00002a30| 22 0d 65 78 69 74 20 63 | 6f 70 79 43 68 61 72 74 |".exit c|opyChart|
|00002a40| 73 0d 65 6e 64 20 69 66 | 20 2d 2d 20 41 44 20 43 |s.end if| -- AD C|
|00002a50| 68 61 72 74 0d 65 6e 64 | 20 69 66 20 2d 2d 20 53 |hart.end| if -- S|
|00002a60| 74 6f 63 6b 20 43 68 61 | 72 74 0d 64 6f 6d 65 6e |tock Cha|rt.domen|
|00002a70| 75 20 22 43 6f 70 79 20 | 43 61 72 64 22 0d 67 6f |u "Copy |Card".go|
|00002a80| 20 6c 61 73 74 20 63 61 | 72 64 0d 64 6f 6d 65 6e | last ca|rd.domen|
|00002a90| 75 20 22 50 61 73 74 65 | 20 43 61 72 64 22 0d 70 |u "Paste| Card".p|
|00002aa0| 75 74 20 6f 6c 64 73 79 | 6d 62 6f 6c 20 69 6e 74 |ut oldsy|mbol int|
|00002ab0| 6f 20 66 69 65 6c 64 20 | 22 53 74 6f 63 6b 20 53 |o field |"Stock S|
|00002ac0| 79 6d 62 6f 6c 22 0d 70 | 75 74 20 6f 6c 64 4e 61 |ymbol".p|ut oldNa|
|00002ad0| 6d 65 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 22 53 |me into |field "S|
|00002ae0| 74 6f 63 6b 20 4e 61 6d | 65 22 0d 70 75 74 20 6f |tock Nam|e".put o|
|00002af0| 6c 64 44 61 74 61 20 69 | 6e 74 6f 20 66 69 65 6c |ldData i|nto fiel|
|00002b00| 64 20 22 44 61 74 61 22 | 0d 69 66 20 6f 6c 64 42 |d "Data"|.if oldB|
|00002b10| 61 63 6b 67 72 6f 75 6e | 64 20 69 73 20 22 41 64 |ackgroun|d is "Ad|
|00002b20| 76 61 6e 63 65 2d 44 65 | 63 6c 69 6e 65 20 43 68 |vance-De|cline Ch|
|00002b30| 61 72 74 22 20 74 68 65 | 6e 0d 70 75 74 20 6f 6c |art" the|n.put ol|
|00002b40| 64 42 61 73 65 56 61 6c | 75 65 20 69 6e 74 6f 20 |dBaseVal|ue into |
|00002b50| 66 69 65 6c 64 20 22 42 | 61 73 65 20 56 61 6c 75 |field "B|ase Valu|
|00002b60| 65 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |e".end i|f.end re|
|00002b70| 70 65 61 74 0d 70 75 74 | 20 66 61 6c 73 65 20 69 |peat.put| false i|
|00002b80| 6e 74 6f 20 63 6f 70 79 | 69 6e 67 63 68 61 72 74 |nto copy|ingchart|
|00002b90| 73 20 2d 2d 20 61 6c 6c | 6f 77 20 63 6f 6d 70 61 |s -- all|ow compa|
|00002ba0| 63 74 69 6e 67 20 73 74 | 61 63 6b 0d 68 69 64 65 |cting st|ack.hide|
|00002bb0| 20 6d 65 73 73 61 67 65 | 20 62 6f 78 0d 67 6f 20 | message| box.go |
|00002bc0| 63 61 72 64 20 74 69 74 | 6c 65 43 61 72 64 20 6f |card tit|leCard o|
|00002bd0| 66 20 73 61 76 65 53 74 | 61 63 6b 0d 73 65 74 20 |f saveSt|ack.set |
|00002be0| 6c 6f 63 6b 53 63 72 65 | 65 6e 20 74 6f 20 66 61 |lockScre|en to fa|
|00002bf0| 6c 73 65 0d 65 6e 64 20 | 69 66 20 2d 2d 20 69 74 |lse.end |if -- it|
|00002c00| 20 6e 6f 74 20 65 6d 70 | 74 79 0d 65 6e 64 20 43 | not emp|ty.end C|
|00002c10| 6f 70 79 43 68 61 72 74 | 73 0d 0d 6f 6e 20 44 65 |opyChart|s..on De|
|00002c20| 6c 65 74 65 43 68 61 72 | 74 73 0d 67 6c 6f 62 61 |leteChar|ts.globa|
|00002c30| 6c 20 66 69 72 73 74 43 | 68 61 72 74 2c 74 69 74 |l firstC|hart,tit|
|00002c40| 6c 65 43 61 72 64 0d 70 | 75 74 20 74 68 65 20 6e |leCard.p|ut the n|
|00002c50| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 73 20 69 |umber of| cards i|
|00002c60| 6e 74 6f 20 54 6f 74 61 | 6c 0d 73 65 74 20 6c 6f |nto Tota|l.set lo|
|00002c70| 63 6b 53 63 72 65 65 6e | 20 74 6f 20 74 72 75 65 |ckScreen| to true|
|00002c80| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 3d 74 |.repeat |with i=t|
|00002c90| 6f 74 61 6c 20 64 6f 77 | 6e 20 74 6f 20 66 69 72 |otal dow|n to fir|
|00002ca0| 73 74 43 68 61 72 74 0d | 67 6f 20 63 61 72 64 20 |stChart.|go card |
|00002cb0| 69 0d 70 75 74 20 22 44 | 65 6c 65 74 69 6e 67 22 |i.put "D|eleting"|
|00002cc0| 26 26 66 69 65 6c 64 20 | 22 53 74 6f 63 6b 20 4e |&&field |"Stock N|
|00002cd0| 61 6d 65 22 26 26 22 43 | 68 61 72 74 22 26 26 69 |ame"&&"C|hart"&&i|
|00002ce0| 2d 66 69 72 73 74 43 68 | 61 72 74 2b 31 c2 0d 26 |-firstCh|art+1..&|
|00002cf0| 26 22 6f 66 22 26 26 74 | 6f 74 61 6c 2d 66 69 72 |&"of"&&t|otal-fir|
|00002d00| 73 74 43 68 61 72 74 2b | 31 0d 64 6f 6d 65 6e 75 |stChart+|1.domenu|
|00002d10| 20 22 44 65 6c 65 74 65 | 20 43 61 72 64 22 0d 65 | "Delete| Card".e|
|00002d20| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 65 6d |nd repea|t.put em|
|00002d30| 70 74 79 0d 68 69 64 65 | 20 6d 65 73 73 61 67 65 |pty.hide| message|
|00002d40| 20 42 6f 78 0d 67 6f 20 | 63 61 72 64 20 74 69 74 | Box.go |card tit|
|00002d50| 6c 65 43 61 72 64 0d 73 | 65 74 20 6c 6f 63 6b 53 |leCard.s|et lockS|
|00002d60| 63 72 65 65 6e 20 74 6f | 20 66 61 6c 73 65 0d 65 |creen to| false.e|
|00002d70| 6e 64 20 44 65 6c 65 74 | 65 43 68 61 72 74 73 0d |nd Delet|eCharts.|
|00002d80| 0d 6f 6e 20 6d 6f 75 73 | 65 55 70 20 2d 2d 20 69 |.on mous|eUp -- i|
|00002d90| 6e 74 65 6e 64 65 64 20 | 66 6f 72 20 66 69 6e 64 |ntended |for find|
|00002da0| 69 6e 67 20 64 61 74 61 | 20 70 6f 69 6e 74 73 20 |ing data| points |
|00002db0| 69 6e 20 61 20 63 68 61 | 72 74 0d 67 6c 6f 62 61 |in a cha|rt.globa|
|00002dc0| 6c 20 66 72 61 6d 65 52 | 65 63 74 0d 70 75 74 20 |l frameR|ect.put |
|00002dd0| 36 20 69 6e 74 6f 20 68 | 6f 72 69 7a 73 74 65 70 |6 into h|orizstep|
|00002de0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00002df0| 63 68 61 72 74 50 6f 69 | 6e 74 0d 69 66 20 28 74 |chartPoi|nt.if (t|
|00002e00| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00002e10| 20 74 68 69 73 20 62 61 | 63 6b 47 72 6f 75 6e 64 | this ba|ckGround|
|00002e20| 3d 22 53 74 6f 63 6b 20 | 43 68 61 72 74 22 29 20 |="Stock |Chart") |
|00002e30| 6f 72 c2 0d 28 74 68 65 | 20 73 68 6f 72 74 20 6e |or..(the| short n|
|00002e40| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 62 61 63 6b |ame of t|his back|
|00002e50| 47 72 6f 75 6e 64 3d 22 | 41 64 76 61 6e 63 65 2d |Ground="|Advance-|
|00002e60| 44 65 63 6c 69 6e 65 20 | 43 68 61 72 74 22 29 20 |Decline |Chart") |
|00002e70| 74 68 65 6e 0d 69 66 20 | 74 68 65 20 6d 6f 75 73 |then.if |the mous|
|00002e80| 65 4c 6f 63 20 69 73 20 | 77 69 74 68 69 6e 20 66 |eLoc is |within f|
|00002e90| 72 61 6d 65 52 65 63 74 | 20 74 68 65 6e 0d 70 75 |rameRect| then.pu|
|00002ea0| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 63 68 61 72 |t true i|nto char|
|00002eb0| 74 50 6f 69 6e 74 0d 65 | 6e 64 20 69 66 0d 65 6e |tPoint.e|nd if.en|
|00002ec0| 64 20 69 66 20 2d 2d 20 | 69 66 20 63 68 61 72 74 |d if -- |if chart|
|00002ed0| 20 62 61 63 6b 67 72 6f | 75 6e 64 0d 69 66 20 63 | backgro|und.if c|
|00002ee0| 68 61 72 74 50 6f 69 6e | 74 20 74 68 65 6e 0d 70 |hartPoin|t then.p|
|00002ef0| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 74 68 65 |ut item |1 of the|
|00002f00| 20 6d 6f 75 73 65 4c 6f | 63 20 69 6e 74 6f 20 77 | mouseLo|c into w|
|00002f10| 65 65 6b 0d 61 64 64 20 | 35 20 74 6f 20 77 65 65 |eek.add |5 to wee|
|00002f20| 6b 20 2d 2d 20 68 6f 72 | 69 7a 53 74 65 70 20 2d |k -- hor|izStep -|
|00002f30| 20 31 20 74 6f 20 62 69 | 61 73 20 66 6f 72 20 74 | 1 to bi|as for t|
|00002f40| 72 75 6e 63 0d 64 69 76 | 69 64 65 20 77 65 65 6b |runc.div|ide week|
|00002f50| 20 62 79 20 68 6f 72 69 | 7a 73 74 65 70 0d 70 75 | by hori|zstep.pu|
|00002f60| 74 20 74 72 75 6e 63 28 | 77 65 65 6b 29 20 69 6e |t trunc(|week) in|
|00002f70| 74 6f 20 77 65 65 6b 0d | 69 66 20 77 65 65 6b 3e |to week.|if week>|
|00002f80| 35 32 20 74 68 65 6e 0d | 70 75 74 20 35 32 20 69 |52 then.|put 52 i|
|00002f90| 6e 74 6f 20 77 65 65 6b | 0d 65 6e 64 20 69 66 0d |nto week|.end if.|
|00002fa0| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00002fb0| 66 20 6c 69 6e 65 73 20 | 69 6e 20 66 69 65 6c 64 |f lines |in field|
|00002fc0| 20 22 64 61 74 61 22 20 | 6f 66 20 74 68 69 73 20 | "data" |of this |
|00002fd0| 63 61 72 64 20 69 6e 74 | 6f 20 6c 69 6e 65 43 6f |card int|o lineCo|
|00002fe0| 75 6e 74 0d 69 66 20 6c | 69 6e 65 43 6f 75 6e 74 |unt.if l|ineCount|
|00002ff0| 3c 35 32 20 74 68 65 6e | 0d 73 75 62 74 72 61 63 |<52 then|.subtrac|
|00003000| 74 20 35 32 2d 6c 69 6e | 65 43 6f 75 6e 74 20 66 |t 52-lin|eCount f|
|00003010| 72 6f 6d 20 77 65 65 6b | 0d 69 66 20 77 65 65 6b |rom week|.if week|
|00003020| 3c 31 20 74 68 65 6e 0d | 70 75 74 20 31 20 69 6e |<1 then.|put 1 in|
|00003030| 74 6f 20 77 65 65 6b 0d | 65 6e 64 20 69 66 0d 65 |to week.|end if.e|
|00003040| 6e 64 20 69 66 0d 69 66 | 20 77 65 65 6b 3e 34 20 |nd if.if| week>4 |
|00003050| 74 68 65 6e 20 2d 2d 20 | 6d 61 6b 65 20 75 70 20 |then -- |make up |
|00003060| 66 6f 72 20 73 65 6c 65 | 63 74 65 64 20 6c 69 6e |for sele|cted lin|
|00003070| 65 20 6e 6f 74 20 61 6c | 77 61 79 73 20 62 65 69 |e not al|ways bei|
|00003080| 6e 67 20 73 68 6f 77 6e | 0d 69 66 20 77 65 65 6b |ng shown|.if week|
|00003090| 3c 6c 69 6e 65 43 6f 75 | 6e 74 20 74 68 65 6e 0d |<lineCou|nt then.|
|000030a0| 70 75 74 20 33 20 69 6e | 74 6f 20 62 69 61 73 0d |put 3 in|to bias.|
|000030b0| 65 6c 73 65 0d 70 75 74 | 20 34 20 69 6e 74 6f 20 |else.put| 4 into |
|000030c0| 62 69 61 73 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |bias.end| if.put |
|000030d0| 77 65 65 6b 2d 62 69 61 | 73 20 69 6e 74 6f 20 77 |week-bia|s into w|
|000030e0| 65 65 6b 4c 69 6e 65 20 | 2d 2d 20 70 75 74 20 73 |eekLine |-- put s|
|000030f0| 65 6c 65 63 74 69 6f 6e | 20 69 6e 20 6d 69 64 64 |election| in midd|
|00003100| 6c 65 0d 6d 75 6c 74 69 | 70 6c 79 20 77 65 65 6b |le.multi|ply week|
|00003110| 4c 69 6e 65 20 62 79 20 | 74 68 65 20 74 65 78 74 |Line by |the text|
|00003120| 48 65 69 67 68 74 20 6f | 66 20 66 69 65 6c 64 20 |Height o|f field |
|00003130| 22 64 61 74 61 22 20 6f | 66 20 74 68 69 73 20 63 |"data" o|f this c|
|00003140| 61 72 64 0d 73 65 74 20 | 74 68 65 20 73 63 72 6f |ard.set |the scro|
|00003150| 6c 6c 20 6f 66 20 66 69 | 65 6c 64 20 22 64 61 74 |ll of fi|eld "dat|
|00003160| 61 22 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |a" of th|is card |
|00003170| 74 6f 20 77 65 65 6b 4c | 69 6e 65 0d 65 6e 64 20 |to weekL|ine.end |
|00003180| 69 66 0d 73 65 6c 65 63 | 74 20 6c 69 6e 65 20 77 |if.selec|t line w|
|00003190| 65 65 6b 20 6f 66 20 66 | 69 65 6c 64 20 22 64 61 |eek of f|ield "da|
|000031a0| 74 61 22 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ta" of t|his card|
|000031b0| 0d 65 6c 73 65 0d 70 61 | 73 73 20 6d 6f 75 73 65 |.else.pa|ss mouse|
|000031c0| 55 70 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 6d 6f |Up.end i|f.end mo|
|000031d0| 75 73 65 55 70 0d 0d 6f | 6e 20 69 64 6c 65 0d 67 |useUp..o|n idle.g|
|000031e0| 6c 6f 62 61 6c 20 63 6f | 70 79 69 6e 67 63 68 61 |lobal co|pyingcha|
|000031f0| 72 74 73 2c 6c 61 73 74 | 63 6f 70 79 74 69 6d 65 |rts,last|copytime|
|00003200| 0d 69 66 20 63 6f 70 79 | 69 6e 67 63 68 61 72 74 |.if copy|ingchart|
|00003210| 73 20 74 68 65 6e 0d 69 | 66 20 74 68 65 20 73 65 |s then.i|f the se|
|00003220| 63 6f 6e 64 73 20 3e 20 | 6c 61 73 74 43 6f 70 79 |conds > |lastCopy|
|00003230| 54 69 6d 65 2b 31 30 20 | 74 68 65 6e 0d 70 75 74 |Time+10 |then.put|
|00003240| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 63 6f 70 79 | false i|nto copy|
|00003250| 69 6e 67 43 68 61 72 74 | 73 0d 61 6e 73 77 65 72 |ingChart|s.answer|
|00003260| 20 22 43 68 61 72 74 20 | 43 6f 70 79 69 6e 67 20 | "Chart |Copying |
|00003270| 73 74 6f 70 70 65 64 22 | 20 77 69 74 68 20 22 4f |stopped"| with "O|
|00003280| 4b 22 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |K".end i|f.end if|
|00003290| 0d 65 6e 64 20 69 64 6c | 65 0d 0d 6f 6e 20 63 6c |.end idl|e..on cl|
|000032a0| 6f 73 65 53 74 61 63 6b | 0d 67 6c 6f 62 61 6c 20 |oseStack|.global |
|000032b0| 63 6f 70 79 69 6e 67 43 | 68 61 72 74 73 2c 73 61 |copyingC|harts,sa|
|000032c0| 76 65 4c 65 76 65 6c 0d | 69 66 20 6e 6f 74 20 63 |veLevel.|if not c|
|000032d0| 6f 70 79 69 6e 67 43 68 | 61 72 74 73 20 74 68 65 |opyingCh|arts the|
|000032e0| 6e 0d 69 66 20 74 68 65 | 20 66 72 65 65 73 69 7a |n.if the| freesiz|
|000032f0| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00003300| 3e 20 30 20 74 68 65 6e | 0d 73 68 6f 77 20 6d 65 |> 0 then|.show me|
|00003310| 73 73 61 67 65 20 62 6f | 78 0d 70 75 74 20 22 43 |ssage bo|x.put "C|
|00003320| 6f 6d 70 61 63 74 69 6e | 67 20 53 74 61 63 6b 22 |ompactin|g Stack"|
|00003330| 0d 64 6f 4d 65 6e 75 20 | 22 43 6f 6d 70 61 63 74 |.doMenu |"Compact|
|00003340| 20 53 74 61 63 6b 22 0d | 70 75 74 20 65 6d 70 74 | Stack".|put empt|
|00003350| 79 0d 68 69 64 65 20 6d | 65 73 73 61 67 65 20 62 |y.hide m|essage b|
|00003360| 6f 78 0d 65 6e 64 20 69 | 66 0d 73 65 74 20 74 68 |ox.end i|f.set th|
|00003370| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 74 6f 20 73 |e userLe|vel to s|
|00003380| 61 76 65 4c 65 76 65 6c | 0d 65 6e 64 20 69 66 0d |aveLevel|.end if.|
|00003390| 65 6e 64 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 0d |end clos|eStack..|
|000033a0| 6f 6e 20 74 65 6d 70 0d | 73 65 74 20 63 75 72 73 |on temp.|set curs|
|000033b0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 70 75 74 20 66 |or to bu|sy.put f|
|000033c0| 69 65 6c 64 20 22 73 74 | 6f 63 6b 20 73 79 6d 62 |ield "st|ock symb|
|000033d0| 6f 6c 22 20 69 6e 74 6f | 20 66 69 6c 65 4e 61 6d |ol" into| fileNam|
|000033e0| 65 0d 69 66 20 66 69 6c | 65 4e 61 6d 65 20 69 73 |e.if fil|eName is|
|000033f0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00003400| 20 74 65 6d 70 0d 6f 70 | 65 6e 20 66 69 6c 65 20 | temp.op|en file |
|00003410| 66 69 6c 65 4e 61 6d 65 | 0d 67 65 74 20 66 69 65 |fileName|.get fie|
|00003420| 6c 64 20 22 73 74 6f 63 | 6b 20 73 79 6d 62 6f 6c |ld "stoc|k symbol|
|00003430| 22 0d 77 72 69 74 65 20 | 69 74 26 72 65 74 75 72 |".write |it&retur|
|00003440| 6e 20 74 6f 20 66 69 6c | 65 20 66 69 6c 65 6e 61 |n to fil|e filena|
|00003450| 6d 65 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |me.repea|t with i|
|00003460| 3d 31 20 74 6f 20 35 32 | 0d 73 65 74 20 63 75 72 |=1 to 52|.set cur|
|00003470| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 70 75 74 20 |sor to b|usy.put |
|00003480| 69 74 65 6d 20 31 20 6f | 66 20 6c 69 6e 65 20 69 |item 1 o|f line i|
|00003490| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|000034a0| 20 69 6e 74 6f 20 64 61 | 74 65 0d 70 75 74 20 69 | into da|te.put i|
|000034b0| 74 65 6d 20 34 20 6f 66 | 20 6c 69 6e 65 20 69 20 |tem 4 of| line i |
|000034c0| 6f 66 20 66 69 65 6c 64 | 20 22 64 61 74 61 22 20 |of field| "data" |
|000034d0| 69 6e 74 6f 20 70 72 69 | 63 65 0d 77 72 69 74 65 |into pri|ce.write|
|000034e0| 20 64 61 74 65 26 22 2c | 22 26 70 72 69 63 65 26 | date&",|"&price&|
|000034f0| 72 65 74 75 72 6e 20 74 | 6f 20 66 69 6c 65 20 66 |return t|o file f|
|00003500| 69 6c 65 6e 61 6d 65 0d | 65 6e 64 20 72 65 70 65 |ilename.|end repe|
|00003510| 61 74 0d 63 6c 6f 73 65 | 20 66 69 6c 65 20 66 69 |at.close| file fi|
|00003520| 6c 65 4e 61 6d 65 0d 65 | 6e 64 20 74 65 6d 70 0d |leName.e|nd temp.|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003680| 00 00 04 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00003690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036a0| 00 08 8e 6b 00 03 4d 81 | 00 01 d0 6e 00 01 d4 d1 |...k..M.|...n....|
|000036b0| 00 00 00 00 00 04 9b 52 | 00 04 d4 b8 00 00 00 00 |.......R|........|
|000036c0| 00 00 00 00 00 00 00 00 | 00 08 be 21 00 00 00 00 |........|...!....|
|000036d0| 00 00 00 00 00 09 6b 07 | 00 00 00 00 00 00 00 00 |......k.|........|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003720| 00 00 00 00 00 00 00 00 | 00 08 66 0f 00 06 c2 0d |........|..f.....|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 00 00 00 | 00 09 1a 64 00 00 00 00 |........|...d....|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 03 c8 9b |........|........|
|00003760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003770| 00 00 00 00 00 00 00 00 | 00 03 4b f9 00 03 c6 08 |........|..K.....|
|00003780| 00 06 e8 74 00 00 00 00 | 00 09 61 b3 00 07 4e 2e |...t....|..a...N.|
|00003790| 00 00 00 00 00 05 9a f0 | 00 00 00 00 00 05 5f 1a |........|......_.|
|000037a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 02 14 18 00 00 00 00 | 00 00 00 00 00 03 31 74 |........|......1t|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 00 00 00 08 ac e8 | 00 00 00 00 00 00 00 00 |........|........|
|000037f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 08 da e4 |........|........|
|00003800| 00 00 00 00 00 00 00 00 | 00 09 0b c7 00 00 00 00 |........|........|
|00003810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 05 06 3b |........|.......;|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003870| 00 00 00 00 00 09 4e 58 | 00 00 00 00 00 00 00 00 |......NX|........|
|00003880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038a0| 00 00 00 00 00 00 00 00 | 00 03 93 fe 00 00 00 00 |........|........|
|000038b0| 00 06 cc 54 00 00 00 00 | 00 04 b6 73 00 07 4a b7 |...T....|...s..J.|
|000038c0| 00 00 00 00 00 00 00 00 | 00 07 4c 2a 00 00 00 00 |........|..L*....|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 03 91 2b |........|.......+|
|00003900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a80| 00 00 00 80 4c 49 53 54 | 00 00 0a 6e 00 00 00 01 |....LIST|...n....|
|00003a90| 00 00 08 00 00 00 00 0c | 00 44 00 02 00 10 00 03 |........|.D......|
|00003aa0| 20 00 01 86 00 00 00 0c | 00 00 00 00 00 00 00 00 | .......|........|
|00003ab0| 00 00 0b d1 00 0c 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b00| 00 00 08 00 50 41 47 45 | 00 00 0b d1 00 00 0a 6e |....PAGE|.......n|
|00003b10| 92 e7 95 6f 00 00 00 00 | 00 00 8e 73 e0 00 a8 0c |...o....|...s....|
|00003b20| 11 9e 32 46 51 14 05 03 | 3e 00 66 46 84 48 cc e6 |..2FQ...|>.fF.H..|
|00003b30| c1 81 b0 48 67 c0 90 80 | 10 c1 34 a0 e0 10 33 22 |...Hg...|..4...3"|
|00003b40| b8 83 b6 11 80 50 64 43 | 0d 12 60 09 2d 11 00 96 |.....PdC|..`.-...|
|00003b50| bc c4 40 69 60 12 88 48 | 05 00 22 39 00 00 6f 3b |..@i`..H|.."9..o;|
|00003b60| a0 00 04 00 00 82 00 00 | 00 00 00 00 00 00 00 08 |........|........|
|00003b70| 00 00 08 40 08 00 00 00 | 20 00 00 00 00 00 00 00 |...@....| .......|
|00003b80| 00 01 12 00 80 00 04 00 | 90 00 00 40 04 00 20 00 |........|...@.. .|
|00003b90| 01 00 00 41 08 40 00 01 | 00 10 00 00 00 00 00 00 |...A.@..|........|
|00003ba0| 00 00 45 f0 a0 7e ff ff | ff ff ff ff ff fd ff ff |..E..~..|........|
|00003bb0| ff ff ff ff ff 7f ff ff | af ff ff ff ff df ff ff |........|........|
|00003bc0| f7 f5 ff fb fd ff ff ff | ff ff ff ff ff ff ff ff |........|........|
|00003bd0| ff ff ff bf ff fe ff 7f | ff ff bf ff ff ff ff ff |........|........|
|00003be0| ff ef ff ff 00 00 8c 54 | e0 00 00 00 00 00 00 10 |.......T|........|
|00003bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c00| 00 40 00 00 00 00 01 00 | 00 00 00 00 01 00 00 00 |.@......|........|
|00003c10| 00 00 00 00 01 08 00 00 | 00 00 00 00 02 00 00 00 |........|........|
|00003c20| 20 24 00 00 00 00 00 02 | 00 00 40 74 e0 1a a7 bc | $......|..@t....|
|00003c30| 14 6c 4d d8 c9 84 40 92 | 07 41 51 4a 03 41 1c 02 |.lM...@.|.AQJ.A..|
|00003c40| 0b 91 26 59 63 4e 31 18 | 16 c0 d9 99 f0 55 52 12 |..&YcN1.|.....UR.|
|00003c50| d1 0a 81 93 b5 1e f1 c8 | c9 28 20 a8 4f 5a 92 53 |........|.( .OZ.S|
|00003c60| 06 54 3d 8a 64 ee 80 c8 | 89 62 fe 6a 00 00 8f b7 |.T=.d...|.b.j....|
|00003c70| 60 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |`.......|........|
|00003c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cb0| 00 00 92 2a 60 00 00 00 | 00 00 00 00 00 00 00 00 |...*`...|........|
|00003cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cf0| 00 00 00 00 00 00 43 2e | e0 3f ef ff fe 7e 7f ff |......C.|.?...~..|
|00003d00| ff ed ff ff ff ff ff 4e | ff f9 ff df bf fb ef fb |.......N|........|
|00003d10| fb ff fb fd 7f f5 ff fd | f7 ff ff fb f5 ff df ff |........|........|
|00003d20| ff ff fb fb fd 7c ff bd | ff df ff fb ff fe bf d7 |.....|..|........|
|00003d30| ff ff df fe fd 7b fe ef | 00 00 08 6b 60 6c 89 70 |.....{..|...k`l.p|
|00003d40| 81 d2 b5 cc 93 c0 17 08 | 5f f8 28 a1 57 5a 84 43 |........|_.(.WZ.C|
|00003d50| d1 3b ee 02 b0 be ae 18 | f9 38 0b 53 00 12 18 6e |.;......|.8.S...n|
|00003d60| 40 7f 32 2e 36 7a f0 14 | b8 7f b1 33 b0 b8 27 03 |@.2.6z..|...3..'.|
|00003d70| ad 71 60 5b 7d 9e a7 9f | b1 7f 95 51 00 00 12 21 |.q`[}...|...Q...!|
|00003d80| 20 08 94 c8 10 4a f8 5a | 90 88 a5 38 5f f8 31 40 | ....J.Z|...8_.1@|
|00003d90| 03 48 10 0b d0 3b a6 02 | b0 3c 82 40 7d 3a 9e 71 |.H...;..|.<.@}:.q|
|00003da0| 80 0d 94 4e c5 3a b6 3e | 31 78 a1 51 40 fe 72 32 |...N.:.>|1x.Q@.r2|
|00003db0| 98 b8 67 42 9c 72 58 51 | 78 17 03 8c 50 a0 d4 42 |..gB.rXQ|x...P..B|
|00003dc0| 00 00 15 07 60 1b db bb | bd 7e 5d 58 fe d2 a5 7e |....`...|.~]X...~|
|00003dd0| 7f ff fe f5 eb 7f ff 57 | d3 fb f6 fa f7 3c af cb |.......W|.....<..|
|00003de0| ff ff ff d7 77 7c bf 5f | f7 bd 96 ff 60 3d 8b ba |....w|._|....`=..|
|00003df0| 9e bc fa af db fe e7 62 | be fa f6 f7 78 df e3 fd |.......b|....x...|
|00003e00| ef fa 5f d4 00 00 32 64 | 60 09 a1 cd 36 56 32 1f |.._...2d|`...6V2.|
|00003e10| dc e4 55 8b dd fb 1a 49 | 37 69 f1 df e3 fa e6 68 |..U....I|7i.....h|
|00003e20| 20 7f 3a 30 fa 78 8e 4d | 19 c5 76 7f d8 3d ce ee | .:0.x.M|..v..=..|
|00003e30| a8 7a e9 59 59 bf 06 36 | 95 fb 7f 2b 8f fe 44 57 |.z.YY..6|...+..DW|
|00003e40| ff d7 6f 8e 47 20 a5 4f | 00 00 00 00 00 00 00 00 |..o.G .O|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000042f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004300| 00 00 23 a0 42 4b 47 44 | 00 00 4c 18 00 00 4f 74 |..#.BKGD|..L...Ot|
|00004310| 00 00 00 00 00 00 00 02 | 00 00 3e f9 00 00 37 9b |........|..>...7.|
|00004320| 00 16 00 39 00 00 16 9c | 00 00 00 00 00 00 00 2e |...9....|........|
|00004330| 00 1a 02 00 00 14 00 00 | 00 26 00 64 00 02 00 00 |........|.&.d....|
|00004340| 00 00 00 00 00 02 00 0c | 01 00 00 10 53 74 6f 63 |........|....Stoc|
|00004350| 6b 20 53 79 6d 62 6f 6c | 00 00 00 00 00 2c 00 1b |k Symbol|.....,..|
|00004360| 02 00 00 14 00 63 00 26 | 01 9d 00 02 00 00 00 00 |.....c.&|........|
|00004370| 00 00 00 02 00 0c 01 00 | 00 10 53 74 6f 63 6b 20 |........|..Stock |
|00004380| 4e 61 6d 65 00 00 00 00 | 00 34 00 1c 02 00 00 14 |Name....|.4......|
|00004390| 01 9c 00 26 02 00 00 02 | 00 00 00 00 00 00 00 02 |...&....|........|
|000043a0| 00 0c 01 00 00 10 44 61 | 74 65 20 6f 66 20 6c 61 |......Da|te of la|
|000043b0| 73 74 20 75 70 64 61 74 | 65 00 00 00 06 42 00 20 |st updat|e....B. |
|000043c0| 02 00 01 16 00 58 01 56 | 01 a7 40 07 00 00 00 00 |.....X.V|..@.....|
|000043d0| 00 00 00 03 00 0c 00 00 | 00 10 44 61 74 61 00 00 |........|..Data..|
|000043e0| 66 75 6e 63 74 69 6f 6e | 20 63 68 65 63 6b 49 74 |function| checkIt|
|000043f0| 65 6d 73 0d 67 6c 6f 62 | 61 6c 20 69 74 65 6d 43 |ems.glob|al itemC|
|00004400| 6f 75 6e 74 2c 6c 69 6e | 65 43 6f 75 6e 74 0d 70 |ount,lin|eCount.p|
|00004410| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|00004420| 20 69 74 65 6d 73 20 6f | 66 20 6c 69 6e 65 20 31 | items o|f line 1|
|00004430| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|00004440| 20 69 6e 74 6f 20 69 74 | 65 6d 43 6f 75 6e 74 0d | into it|emCount.|
|00004450| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 3d 32 20 |repeat w|ith i=2 |
|00004460| 74 6f 20 6c 69 6e 65 43 | 6f 75 6e 74 0d 69 66 20 |to lineC|ount.if |
|00004470| 69 74 65 6d 63 6f 75 6e | 74 3c 3e 74 68 65 20 6e |itemcoun|t<>the n|
|00004480| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 6f |umber of| items o|
|00004490| 66 20 6c 69 6e 65 20 69 | 20 6f 66 20 66 69 65 6c |f line i| of fiel|
|000044a0| 64 20 22 64 61 74 61 22 | 20 74 68 65 6e 0d 70 75 |d "data"| then.pu|
|000044b0| 74 20 69 2d 32 20 69 6e | 74 6f 20 73 63 72 6f 6c |t i-2 in|to scrol|
|000044c0| 6c 65 64 4c 69 6e 65 73 | 0d 69 66 20 73 63 72 6f |ledLines|.if scro|
|000044d0| 6c 6c 65 64 4c 69 6e 65 | 73 3e 30 20 74 68 65 6e |lledLine|s>0 then|
|000044e0| 0d 6d 75 6c 74 69 70 6c | 79 20 73 63 72 6f 6c 6c |.multipl|y scroll|
|000044f0| 65 64 4c 69 6e 65 73 20 | 62 79 20 74 68 65 20 74 |edLines |by the t|
|00004500| 65 78 74 68 65 69 67 68 | 74 20 6f 66 20 66 69 65 |extheigh|t of fie|
|00004510| 6c 64 20 22 44 61 74 61 | 22 0d 73 65 74 20 74 68 |ld "Data|".set th|
|00004520| 65 20 73 63 72 6f 6c 6c | 20 6f 66 20 66 69 65 6c |e scroll| of fiel|
|00004530| 64 20 22 44 61 74 61 22 | 20 74 6f 20 73 63 72 6f |d "Data"| to scro|
|00004540| 6c 6c 65 64 4c 69 6e 65 | 73 0d 65 6e 64 20 69 66 |lledLine|s.end if|
|00004550| 0d 61 6e 73 77 65 72 20 | 22 49 6e 63 6f 6e 73 69 |.answer |"Inconsi|
|00004560| 73 74 65 6e 74 20 6c 69 | 6e 65 22 0d 72 65 74 75 |stent li|ne".retu|
|00004570| 72 6e 20 66 61 6c 73 65 | 0d 65 78 69 74 20 63 68 |rn false|.exit ch|
|00004580| 65 63 6b 49 74 65 6d 73 | 0d 65 6e 64 20 69 66 0d |eckItems|.end if.|
|00004590| 65 6e 64 20 72 65 70 65 | 61 74 0d 72 65 74 75 72 |end repe|at.retur|
|000045a0| 6e 20 74 72 75 65 0d 65 | 6e 64 20 63 68 65 63 6b |n true.e|nd check|
|000045b0| 49 74 65 6d 73 0d 0d 6f | 6e 20 75 70 64 61 74 65 |Items..o|n update|
|000045c0| 42 61 73 65 56 61 6c 75 | 65 20 68 69 67 68 49 74 |BaseValu|e highIt|
|000045d0| 65 6d 2c 6c 6f 77 49 74 | 65 6d 0d 67 6c 6f 62 61 |em,lowIt|em.globa|
|000045e0| 6c 20 6d 61 78 44 61 74 | 61 50 6f 69 6e 74 73 2c |l maxDat|aPoints,|
|000045f0| 6d 69 6e 42 61 73 65 56 | 61 6c 75 65 2c 6d 61 78 |minBaseV|alue,max|
|00004600| 42 61 73 65 56 61 6c 75 | 65 2c 6c 69 6e 65 43 6f |BaseValu|e,lineCo|
|00004610| 75 6e 74 0d 72 65 70 65 | 61 74 20 77 68 69 6c 65 |unt.repe|at while|
|00004620| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00004630| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|00004640| 20 3e 20 6d 61 78 44 61 | 74 61 50 6f 69 6e 74 73 | > maxDa|taPoints|
|00004650| 0d 67 65 74 20 69 74 65 | 6d 20 68 69 67 68 49 74 |.get ite|m highIt|
|00004660| 65 6d 20 6f 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |em of li|ne 1 of |
|00004670| 66 69 65 6c 64 20 22 64 | 61 74 61 22 0d 73 75 62 |field "d|ata".sub|
|00004680| 74 72 61 63 74 20 69 74 | 65 6d 20 6c 6f 77 49 74 |tract it|em lowIt|
|00004690| 65 6d 20 6f 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |em of li|ne 1 of |
|000046a0| 66 69 65 6c 64 20 22 64 | 61 74 61 22 20 66 72 6f |field "d|ata" fro|
|000046b0| 6d 20 69 74 0d 61 64 64 | 20 69 74 20 74 6f 20 66 |m it.add| it to f|
|000046c0| 69 65 6c 64 20 22 42 61 | 73 65 20 56 61 6c 75 65 |ield "Ba|se Value|
|000046d0| 22 0d 69 66 20 66 69 65 | 6c 64 20 22 42 61 73 65 |".if fie|ld "Base|
|000046e0| 20 56 61 6c 75 65 22 20 | 3c 20 30 20 74 68 65 6e | Value" |< 0 then|
|000046f0| 0d 70 75 74 20 6d 69 6e | 42 61 73 65 56 61 6c 75 |.put min|BaseValu|
|00004700| 65 20 69 6e 20 66 69 65 | 6c 64 20 22 42 61 73 65 |e in fie|ld "Base|
|00004710| 20 56 61 6c 75 65 22 0d | 65 6c 73 65 0d 69 66 20 | Value".|else.if |
|00004720| 66 69 65 6c 64 20 22 42 | 61 73 65 20 56 61 6c 75 |field "B|ase Valu|
|00004730| 65 22 20 3e 20 6d 61 78 | 42 61 73 65 56 61 6c 75 |e" > max|BaseValu|
|00004740| 65 20 74 68 65 6e 0d 70 | 75 74 20 6d 61 78 42 61 |e then.p|ut maxBa|
|00004750| 73 65 56 61 6c 75 65 2f | 32 20 69 6e 74 6f 20 66 |seValue/|2 into f|
|00004760| 69 65 6c 64 20 22 42 61 | 73 65 20 56 61 6c 75 65 |ield "Ba|se Value|
|00004770| 22 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |".end if|.end if.|
|00004780| 64 65 6c 65 74 65 20 6c | 69 6e 65 20 31 20 6f 66 |delete l|ine 1 of|
|00004790| 20 66 69 65 6c 64 20 22 | 64 61 74 61 22 0d 65 6e | field "|data".en|
|000047a0| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 74 68 65 |d repeat|.put the|
|000047b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|000047c0| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|000047d0| 20 69 6e 74 6f 20 6c 69 | 6e 65 43 6f 75 6e 74 0d | into li|neCount.|
|000047e0| 65 6e 64 20 75 70 64 61 | 74 65 42 61 73 65 56 61 |end upda|teBaseVa|
|000047f0| 6c 75 65 0d 0d 6f 6e 20 | 43 6c 6f 73 65 46 69 65 |lue..on |CloseFie|
|00004800| 6c 64 0d 67 6c 6f 62 61 | 6c 20 69 74 65 6d 43 6f |ld.globa|l itemCo|
|00004810| 75 6e 74 2c 6c 69 6e 65 | 43 6f 75 6e 74 0d 70 75 |unt,line|Count.pu|
|00004820| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00004830| 6c 69 6e 65 73 20 6f 66 | 20 66 69 65 6c 64 20 22 |lines of| field "|
|00004840| 64 61 74 61 22 20 69 6e | 74 6f 20 6c 69 6e 65 43 |data" in|to lineC|
|00004850| 6f 75 6e 74 0d 69 66 20 | 66 69 65 6c 64 20 22 64 |ount.if |field "d|
|00004860| 61 74 61 22 20 69 73 20 | 65 6d 70 74 79 20 74 68 |ata" is |empty th|
|00004870| 65 6e 0d 43 6c 65 61 72 | 66 69 65 6c 64 73 0d 65 |en.Clear|fields.e|
|00004880| 6c 73 65 0d 69 66 20 66 | 69 65 6c 64 20 22 64 61 |lse.if f|ield "da|
|00004890| 74 61 22 20 69 73 20 72 | 65 74 75 72 6e 20 74 68 |ta" is r|eturn th|
|000048a0| 65 6e 0d 43 6c 65 61 72 | 66 69 65 6c 64 73 0d 70 |en.Clear|fields.p|
|000048b0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 66 69 |ut empty| into fi|
|000048c0| 65 6c 64 20 22 64 61 74 | 61 22 0d 65 6c 73 65 0d |eld "dat|a".else.|
|000048d0| 69 66 20 63 68 65 63 6b | 49 74 65 6d 73 28 29 20 |if check|Items() |
|000048e0| 74 68 65 6e 0d 75 70 64 | 61 74 65 42 61 73 65 56 |then.upd|ateBaseV|
|000048f0| 61 6c 75 65 20 69 74 65 | 6d 43 6f 75 6e 74 2d 31 |alue ite|mCount-1|
|00004900| 2c 69 74 65 6d 43 6f 75 | 6e 74 0d 67 65 74 20 6e |,itemCou|nt.get n|
|00004910| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 6f |umber of| items o|
|00004920| 66 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 66 |f last l|ine of f|
|00004930| 69 65 6c 64 20 22 64 61 | 74 61 22 0d 69 66 20 69 |ield "da|ta".if i|
|00004940| 74 3e 32 20 74 68 65 6e | 0d 70 75 74 20 69 74 65 |t>2 then|.put ite|
|00004950| 6d 20 31 20 6f 66 20 6c | 61 73 74 20 6c 69 6e 65 |m 1 of l|ast line|
|00004960| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|00004970| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 44 61 74 | into fi|eld "Dat|
|00004980| 65 20 6f 66 20 4c 61 73 | 74 20 55 70 64 61 74 65 |e of Las|t Update|
|00004990| 22 0d 65 6c 73 65 0d 70 | 75 74 20 65 6d 70 74 79 |".else.p|ut empty|
|000049a0| 20 69 6e 74 6f 20 66 69 | 65 6c 64 20 22 44 61 74 | into fi|eld "Dat|
|000049b0| 65 20 6f 66 20 4c 61 73 | 74 20 55 70 64 61 74 65 |e of Las|t Update|
|000049c0| 22 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 43 6c |".end if|.else.Cl|
|000049d0| 65 61 72 66 69 65 6c 64 | 73 0d 65 6e 64 20 69 66 |earfield|s.end if|
|000049e0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|000049f0| 6e 64 20 43 6c 6f 73 65 | 46 69 65 6c 64 00 00 26 |nd Close|Field..&|
|00004a00| 00 21 02 00 00 25 01 9c | 00 37 02 00 00 00 00 00 |.!...%..|.7......|
|00004a10| 00 00 00 00 00 03 00 0a | 01 00 00 0d 48 69 67 68 |........|....High|
|00004a20| 00 00 00 00 00 24 00 22 | 02 00 00 36 01 9c 00 48 |.....$."|...6...H|
|00004a30| 02 00 00 00 00 00 00 00 | 00 00 00 03 00 0a 01 00 |........|........|
|00004a40| 00 0d 4c 6f 77 00 00 00 | 00 26 00 23 02 00 00 47 |..Low...|.&.#...G|
|00004a50| 01 9c 00 59 02 00 00 00 | 00 00 00 00 00 00 00 03 |...Y....|........|
|00004a60| 00 0a 01 00 00 0d 43 6c | 6f 73 65 00 00 00 00 2a |......Cl|ose....*|
|00004a70| 00 24 02 00 00 79 01 9b | 00 8b 01 ff 00 00 00 00 |.$...y..|........|
|00004a80| 00 00 00 00 00 03 00 0a | 01 00 00 0d 41 76 65 72 |........|....Aver|
|00004a90| 61 67 65 20 31 00 00 00 | 00 2a 00 25 02 00 00 8a |age 1...|.*.%....|
|00004aa0| 01 9b 00 9c 01 ff 00 00 | 00 00 00 00 00 00 00 03 |........|........|
|00004ab0| 00 0a 01 00 00 0d 41 76 | 65 72 61 67 65 20 32 00 |......Av|erage 2.|
|00004ac0| 00 00 00 2a 00 26 02 00 | 00 9b 01 9b 00 ad 01 ff |...*.&..|........|
|00004ad0| 00 00 00 00 00 00 00 00 | 00 03 00 0a 01 00 00 0d |........|........|
|00004ae0| 41 76 65 72 61 67 65 20 | 33 00 00 00 00 2c 00 27 |Average |3....,.'|
|00004af0| 02 81 00 78 00 9c 00 8b | 01 30 00 00 00 00 00 00 |...x....|.0......|
|00004b00| 00 00 00 03 00 0c 00 00 | 00 10 44 69 72 65 63 74 |........|..Direct|
|00004b10| 69 6f 6e 73 00 00 00 00 | 00 2c 00 28 02 80 00 ea |ions....|.,.(....|
|00004b20| 00 9d 00 fc 01 1f 00 00 | 00 00 00 00 00 00 00 03 |........|........|
|00004b30| 00 0c 00 00 00 10 42 61 | 73 65 20 56 61 6c 75 65 |......Ba|se Value|
|00004b40| 00 00 00 00 00 2c 00 29 | 02 80 00 8e 00 9b 00 e3 |.....,.)|........|
|00004b50| 01 63 00 00 00 00 00 00 | 00 00 00 03 00 0c 00 00 |.c......|........|
|00004b60| 00 10 50 6c 6f 74 20 56 | 61 6c 75 65 73 00 00 00 |..Plot V|alues...|
|00004b70| 00 5e 00 2f 01 00 01 3f | 00 05 01 52 00 19 00 00 |.^./...?|...R....|
|00004b80| 00 00 54 c4 00 01 00 00 | 00 0c 00 00 00 10 48 6f |..T.....|......Ho|
|00004b90| 6d 65 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 76 |me..on m|ouseUp.v|
|00004ba0| 69 73 75 61 6c 20 65 66 | 66 65 63 74 20 69 72 69 |isual ef|fect iri|
|00004bb0| 73 20 63 6c 6f 73 65 0d | 67 6f 20 68 6f 6d 65 0d |s close.|go home.|
|00004bc0| 65 6e 64 20 6d 6f 75 73 | 65 55 70 0d 0d 00 00 ce |end mous|eUp.....|
|00004bd0| 00 30 01 00 01 3d 00 43 | 01 50 00 57 00 00 00 00 |.0...=.C|.P.W....|
|00004be0| 03 f6 00 01 00 00 00 0c | 00 00 00 10 50 72 65 76 |........|....Prev|
|00004bf0| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 67 6c 6f |..on mou|seUp.glo|
|00004c00| 62 61 6c 20 46 69 72 73 | 74 43 68 61 72 74 2c 74 |bal Firs|tChart,t|
|00004c10| 69 74 6c 65 43 61 72 64 | 0d 76 69 73 75 61 6c 20 |itleCard|.visual |
|00004c20| 65 66 66 65 63 74 20 77 | 69 70 65 20 72 69 67 68 |effect w|ipe righ|
|00004c30| 74 0d 69 66 20 6e 75 6d | 62 65 72 20 6f 66 20 74 |t.if num|ber of t|
|00004c40| 68 69 73 20 63 61 72 64 | 20 3e 20 46 69 72 73 74 |his card| > First|
|00004c50| 43 68 61 72 74 20 74 68 | 65 6e 0d 67 6f 20 74 6f |Chart th|en.go to|
|00004c60| 20 70 72 65 76 69 6f 75 | 73 20 63 61 72 64 0d 65 | previou|s card.e|
|00004c70| 6c 73 65 0d 67 6f 20 74 | 6f 20 63 61 72 64 20 74 |lse.go t|o card t|
|00004c80| 69 74 6c 65 43 61 72 64 | 0d 65 6e 64 20 69 66 0d |itleCard|.end if.|
|00004c90| 65 6e 64 20 6d 6f 75 73 | 65 55 70 00 00 c8 00 31 |end mous|eUp....1|
|00004ca0| 01 00 01 3f 01 a7 01 52 | 01 bb 00 00 00 00 03 f5 |...?...R|........|
|00004cb0| 00 01 00 00 00 0c 00 00 | 00 10 4e 65 78 74 00 00 |........|..Next..|
|00004cc0| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 67 6c 6f 62 61 |on mouse|Up.globa|
|00004cd0| 6c 20 74 69 74 6c 65 43 | 61 72 64 0d 76 69 73 75 |l titleC|ard.visu|
|00004ce0| 61 6c 20 65 66 66 65 63 | 74 20 77 69 70 65 20 6c |al effec|t wipe l|
|00004cf0| 65 66 74 0d 69 66 20 6e | 75 6d 62 65 72 20 6f 66 |eft.if n|umber of|
|00004d00| 20 74 68 69 73 20 63 61 | 72 64 20 3c 20 74 68 65 | this ca|rd < the|
|00004d10| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 61 72 64 73 | number |of cards|
|00004d20| 20 74 68 65 6e 0d 67 6f | 20 74 6f 20 6e 65 78 74 | then.go| to next|
|00004d30| 20 63 61 72 64 0d 65 6c | 73 65 0d 67 6f 20 74 6f | card.el|se.go to|
|00004d40| 20 63 61 72 64 20 74 69 | 74 6c 65 43 61 72 64 0d | card ti|tleCard.|
|00004d50| 65 6e 64 20 69 66 0d 65 | 6e 64 20 6d 6f 75 73 65 |end if.e|nd mouse|
|00004d60| 55 70 00 00 00 fa 00 32 | 01 00 01 16 00 1c 01 42 |Up.....2|.......B|
|00004d70| 00 3c 80 00 ff ff e8 61 | 00 01 00 00 00 0c 00 00 |.<.....a|........|
|00004d80| 00 10 49 6d 70 6f 72 74 | 00 00 6f 6e 20 6d 6f 75 |..Import|..on mou|
|00004d90| 73 65 55 70 0d 61 73 6b | 20 22 46 69 6c 65 20 4e |seUp.ask| "File N|
|00004da0| 61 6d 65 22 20 77 69 74 | 68 20 22 49 6e 74 65 72 |ame" wit|h "Inter|
|00004db0| 63 68 61 6e 67 65 3a 22 | 0d 70 75 74 20 69 74 20 |change:"|.put it |
|00004dc0| 69 6e 74 6f 20 66 69 6c | 65 4e 61 6d 65 0d 6f 70 |into fil|eName.op|
|00004dd0| 65 6e 20 66 69 6c 65 20 | 66 69 6c 65 4e 61 6d 65 |en file |fileName|
|00004de0| 0d 72 65 61 64 20 66 72 | 6f 6d 20 66 69 6c 65 20 |.read fr|om file |
|00004df0| 66 69 6c 65 4e 61 6d 65 | 20 66 6f 72 20 33 32 30 |fileName| for 320|
|00004e00| 30 30 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 66 |00.put i|t into f|
|00004e10| 69 65 6c 64 20 22 64 61 | 74 61 22 0d 63 6c 6f 73 |ield "da|ta".clos|
|00004e20| 65 20 66 69 6c 65 20 66 | 69 6c 65 4e 61 6d 65 0d |e file f|ileName.|
|00004e30| 73 65 6e 64 20 63 6c 6f | 73 65 46 69 65 6c 64 20 |send clo|seField |
|00004e40| 74 6f 20 66 69 65 6c 64 | 20 22 64 61 74 61 22 0d |to field| "data".|
|00004e50| 65 6e 64 20 6d 6f 75 73 | 65 55 70 0d 00 00 08 78 |end mous|eUp....x|
|00004e60| 00 33 01 00 01 16 01 c0 | 01 45 01 e5 a0 01 00 00 |.3......|.E......|
|00004e70| 2f 2a 00 01 00 00 00 0c | 00 00 00 10 50 6c 6f 74 |/*......|....Plot|
|00004e80| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 67 6c 6f |..on mou|seUp.glo|
|00004e90| 62 61 6c 20 6c 69 6e 65 | 43 6f 75 6e 74 2c 73 70 |bal line|Count,sp|
|00004ea0| 61 6e 31 2c 73 70 61 6e | 32 2c 73 70 61 6e 33 0d |an1,span|2,span3.|
|00004eb0| 70 75 74 20 74 68 65 20 | 75 73 65 72 4c 65 76 65 |put the |userLeve|
|00004ec0| 6c 20 69 6e 74 6f 20 73 | 61 76 65 4c 65 76 65 6c |l into s|aveLevel|
|00004ed0| 0d 69 66 20 74 68 65 20 | 75 73 65 72 4c 65 76 65 |.if the |userLeve|
|00004ee0| 6c 20 3c 20 33 20 74 68 | 65 6e 20 73 65 74 20 75 |l < 3 th|en set u|
|00004ef0| 73 65 72 4c 65 76 65 6c | 20 74 6f 20 33 20 2d 2d |serLevel| to 3 --|
|00004f00| 20 22 50 61 69 6e 74 69 | 6e 67 22 0d 63 6c 65 61 | "Painti|ng".clea|
|00004f10| 72 53 63 72 65 65 6e 0d | 73 65 74 20 74 68 65 20 |rScreen.|set the |
|00004f20| 63 75 72 73 6f 72 20 74 | 6f 20 34 20 2d 2d 20 53 |cursor t|o 4 -- S|
|00004f30| 65 74 20 77 61 74 63 68 | 20 63 75 72 73 6f 72 0d |et watch| cursor.|
|00004f40| 72 65 73 65 74 20 70 61 | 69 6e 74 0d 63 68 6f 6f |reset pa|int.choo|
|00004f50| 73 65 20 6c 69 6e 65 20 | 74 6f 6f 6c 0d 73 65 74 |se line |tool.set|
|00004f60| 20 6c 69 6e 65 53 69 7a | 65 20 74 6f 20 31 0d 73 | lineSiz|e to 1.s|
|00004f70| 65 74 20 70 61 74 74 65 | 72 6e 20 74 6f 20 31 34 |et patte|rn to 14|
|00004f80| 0d 73 65 74 20 66 69 6c | 6c 65 64 20 74 6f 20 74 |.set fil|led to t|
|00004f90| 72 75 65 0d 70 75 74 20 | 66 72 61 6d 65 6c 65 66 |rue.put |framelef|
|00004fa0| 74 28 29 2b 33 20 69 6e | 74 6f 20 68 6f 72 69 7a |t()+3 in|to horiz|
|00004fb0| 0d 73 65 6e 64 20 63 6c | 6f 73 65 46 69 65 6c 64 |.send cl|oseField|
|00004fc0| 20 74 6f 20 66 69 65 6c | 64 20 22 44 61 74 61 22 | to fiel|d "Data"|
|00004fd0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00004fe0| 6f 66 20 6c 69 6e 65 73 | 20 69 6e 20 66 69 65 6c |of lines| in fiel|
|00004ff0| 64 20 22 44 61 74 61 22 | 20 69 6e 74 6f 20 6c 69 |d "Data"| into li|
|00005000| 6e 65 43 6f 75 6e 74 0d | 70 75 74 20 74 68 65 20 |neCount.|put the |
|00005010| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|00005020| 69 6e 20 6c 69 6e 65 20 | 31 20 6f 66 20 66 69 65 |in line |1 of fie|
|00005030| 6c 64 20 22 44 61 74 61 | 22 20 69 6e 74 6f 20 69 |ld "Data|" into i|
|00005040| 74 65 6d 43 6f 75 6e 74 | 0d 70 75 74 20 31 20 69 |temCount|.put 1 i|
|00005050| 6e 74 6f 20 68 69 67 68 | 49 74 65 6d 0d 70 75 74 |nto high|Item.put|
|00005060| 20 32 20 69 6e 74 6f 20 | 6c 6f 77 49 74 65 6d 0d | 2 into |lowItem.|
|00005070| 69 66 20 69 74 65 6d 43 | 6f 75 6e 74 3e 32 20 74 |if itemC|ount>2 t|
|00005080| 68 65 6e 0d 70 75 74 20 | 32 20 69 6e 74 6f 20 68 |hen.put |2 into h|
|00005090| 69 67 68 49 74 65 6d 0d | 70 75 74 20 33 20 69 6e |ighItem.|put 3 in|
|000050a0| 74 6f 20 6c 6f 77 49 74 | 65 6d 0d 65 6e 64 20 69 |to lowIt|em.end i|
|000050b0| 66 0d 69 66 20 68 69 67 | 68 49 74 65 6d 3e 31 20 |f.if hig|hItem>1 |
|000050c0| 74 68 65 6e 0d 70 75 74 | 20 69 74 65 6d 20 31 20 |then.put| item 1 |
|000050d0| 6f 66 20 6c 61 73 74 20 | 6c 69 6e 65 20 6f 66 20 |of last |line of |
|000050e0| 66 69 65 6c 64 20 22 64 | 61 74 61 22 20 69 6e 74 |field "d|ata" int|
|000050f0| 6f 20 66 69 65 6c 64 20 | 22 44 61 74 65 20 6f 66 |o field |"Date of|
|00005100| 20 4c 61 73 74 20 55 70 | 64 61 74 65 22 0d 65 6c | Last Up|date".el|
|00005110| 73 65 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |se.put e|mpty int|
|00005120| 6f 20 66 69 65 6c 64 20 | 22 44 61 74 65 20 6f 66 |o field |"Date of|
|00005130| 20 4c 61 73 74 20 55 70 | 64 61 74 65 22 0d 65 6e | Last Up|date".en|
|00005140| 64 20 69 66 0d 70 75 74 | 52 61 6e 67 65 20 68 69 |d if.put|Range hi|
|00005150| 67 68 49 74 65 6d 2c 6c | 6f 77 49 74 65 6d 0d 70 |ghItem,l|owItem.p|
|00005160| 75 74 20 66 69 65 6c 64 | 20 22 48 69 67 68 22 20 |ut field| "High" |
|00005170| 69 6e 74 6f 20 6d 61 78 | 56 61 6c 75 65 0d 70 75 |into max|Value.pu|
|00005180| 74 20 36 20 69 6e 74 6f | 20 68 6f 72 69 7a 53 74 |t 6 into| horizSt|
|00005190| 65 70 0d 70 75 74 20 72 | 6f 75 6e 64 28 68 6f 72 |ep.put r|ound(hor|
|000051a0| 69 7a 53 74 65 70 20 2a | 20 33 2f 34 29 20 69 6e |izStep *| 3/4) in|
|000051b0| 74 6f 20 77 69 64 74 68 | 0d 70 75 74 20 66 69 65 |to width|.put fie|
|000051c0| 6c 64 20 22 42 61 73 65 | 20 56 61 6c 75 65 22 20 |ld "Base| Value" |
|000051d0| 69 6e 74 6f 20 63 75 72 | 72 65 6e 74 56 61 6c 75 |into cur|rentValu|
|000051e0| 65 0d 69 66 20 6c 69 6e | 65 43 6f 75 6e 74 3c 35 |e.if lin|eCount<5|
|000051f0| 32 20 74 68 65 6e 0d 61 | 64 64 20 28 35 32 2d 6c |2 then.a|dd (52-l|
|00005200| 69 6e 65 43 6f 75 6e 74 | 29 2a 68 6f 72 69 7a 53 |ineCount|)*horizS|
|00005210| 74 65 70 20 74 6f 20 68 | 6f 72 69 7a 0d 65 6e 64 |tep to h|oriz.end|
|00005220| 20 69 66 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 | if.repe|at with |
|00005230| 69 20 3d 20 31 20 74 6f | 20 6c 69 6e 65 43 6f 75 |i = 1 to| lineCou|
|00005240| 6e 74 0d 61 64 64 20 69 | 74 65 6d 20 68 69 67 68 |nt.add i|tem high|
|00005250| 49 74 65 6d 20 6f 66 20 | 6c 69 6e 65 20 69 20 6f |Item of |line i o|
|00005260| 66 20 66 69 65 6c 64 20 | 22 64 61 74 61 22 20 74 |f field |"data" t|
|00005270| 6f 20 63 75 72 72 65 6e | 74 56 61 6c 75 65 0d 73 |o curren|tValue.s|
|00005280| 75 62 74 72 61 63 74 20 | 69 74 65 6d 20 6c 6f 77 |ubtract |item low|
|00005290| 49 74 65 6d 20 6f 66 20 | 6c 69 6e 65 20 69 20 6f |Item of |line i o|
|000052a0| 66 20 66 69 65 6c 64 20 | 22 64 61 74 61 22 20 66 |f field |"data" f|
|000052b0| 72 6f 6d 20 63 75 72 72 | 65 6e 74 56 61 6c 75 65 |rom curr|entValue|
|000052c0| 0d 70 75 74 20 72 6f 75 | 6e 64 28 66 72 61 6d 65 |.put rou|nd(frame|
|000052d0| 68 65 69 67 68 74 28 29 | 20 2a 20 63 75 72 72 65 |height()| * curre|
|000052e0| 6e 74 56 61 6c 75 65 20 | 2f 20 6d 61 78 56 61 6c |ntValue |/ maxVal|
|000052f0| 75 65 29 20 69 6e 74 6f | 20 68 65 69 67 68 74 0d |ue) into| height.|
|00005300| 64 72 61 67 20 66 72 6f | 6d 20 68 6f 72 69 7a 2c |drag fro|m horiz,|
|00005310| 66 72 61 6d 65 62 6f 74 | 74 6f 6d 28 29 2d 68 65 |framebot|tom()-he|
|00005320| 69 67 68 74 20 74 6f 20 | 68 6f 72 69 7a 2c 66 72 |ight to |horiz,fr|
|00005330| 61 6d 65 62 6f 74 74 6f | 6d 28 29 2d 68 65 69 67 |amebotto|m()-heig|
|00005340| 68 74 2b 77 69 64 74 68 | 0d 70 75 74 20 72 6f 75 |ht+width|.put rou|
|00005350| 6e 64 28 68 65 69 67 68 | 74 2d 77 69 64 74 68 2f |nd(heigh|t-width/|
|00005360| 32 29 20 69 6e 74 6f 20 | 68 65 69 67 68 74 0d 64 |2) into |height.d|
|00005370| 72 61 67 20 66 72 6f 6d | 20 68 6f 72 69 7a 2c 66 |rag from| horiz,f|
|00005380| 72 61 6d 65 62 6f 74 74 | 6f 6d 28 29 2d 68 65 69 |ramebott|om()-hei|
|00005390| 67 68 74 20 74 6f 20 68 | 6f 72 69 7a 2b 32 2c 66 |ght to h|oriz+2,f|
|000053a0| 72 61 6d 65 62 6f 74 74 | 6f 6d 28 29 2d 68 65 69 |ramebott|om()-hei|
|000053b0| 67 68 74 0d 70 75 74 20 | 63 75 72 72 65 6e 74 76 |ght.put |currentv|
|000053c0| 61 6c 75 65 20 69 6e 74 | 6f 20 6c 69 6e 65 20 69 |alue int|o line i|
|000053d0| 20 6f 66 20 66 69 65 6c | 64 20 22 50 6c 6f 74 20 | of fiel|d "Plot |
|000053e0| 56 61 6c 75 65 73 22 0d | 61 64 64 20 68 6f 72 69 |Values".|add hori|
|000053f0| 7a 53 74 65 70 20 74 6f | 20 68 6f 72 69 7a 0d 65 |zStep to| horiz.e|
|00005400| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 30 20 |nd repea|t.put 0 |
|00005410| 69 6e 74 6f 20 53 75 6d | 31 0d 69 66 20 6c 69 6e |into Sum|1.if lin|
|00005420| 65 43 6f 75 6e 74 3e 73 | 70 61 6e 31 20 74 68 65 |eCount>s|pan1 the|
|00005430| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 3d |n.repeat| with i=|
|00005440| 6c 69 6e 65 43 6f 75 6e | 74 2d 73 70 61 6e 31 2b |lineCoun|t-span1+|
|00005450| 31 20 74 6f 20 6c 69 6e | 65 43 6f 75 6e 74 0d 61 |1 to lin|eCount.a|
|00005460| 64 64 20 6c 69 6e 65 20 | 69 20 6f 66 20 66 69 65 |dd line |i of fie|
|00005470| 6c 64 20 22 50 6c 6f 74 | 20 56 61 6c 75 65 73 22 |ld "Plot| Values"|
|00005480| 20 74 6f 20 53 75 6d 31 | 0d 65 6e 64 20 72 65 70 | to Sum1|.end rep|
|00005490| 65 61 74 0d 65 6e 64 20 | 69 66 0d 69 66 20 6c 69 |eat.end |if.if li|
|000054a0| 6e 65 43 6f 75 6e 74 3e | 73 70 61 6e 32 20 74 68 |neCount>|span2 th|
|000054b0| 65 6e 0d 70 75 74 20 53 | 75 6d 31 20 69 6e 74 6f |en.put S|um1 into|
|000054c0| 20 53 75 6d 32 0d 72 65 | 70 65 61 74 20 77 69 74 | Sum2.re|peat wit|
|000054d0| 68 20 69 3d 6c 69 6e 65 | 43 6f 75 6e 74 2d 73 70 |h i=line|Count-sp|
|000054e0| 61 6e 32 2b 31 20 74 6f | 20 6c 69 6e 65 43 6f 75 |an2+1 to| lineCou|
|000054f0| 6e 74 2d 73 70 61 6e 31 | 0d 61 64 64 20 6c 69 6e |nt-span1|.add lin|
|00005500| 65 20 69 20 6f 66 20 66 | 69 65 6c 64 20 22 50 6c |e i of f|ield "Pl|
|00005510| 6f 74 20 56 61 6c 75 65 | 73 22 20 74 6f 20 53 75 |ot Value|s" to Su|
|00005520| 6d 32 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6c |m2.end r|epeat.el|
|00005530| 73 65 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 53 75 |se.put 0| into Su|
|00005540| 6d 32 0d 65 6e 64 20 69 | 66 0d 69 66 20 6c 69 6e |m2.end i|f.if lin|
|00005550| 65 43 6f 75 6e 74 3e 73 | 70 61 6e 33 20 74 68 65 |eCount>s|pan3 the|
|00005560| 6e 0d 70 75 74 20 53 75 | 6d 32 20 69 6e 74 6f 20 |n.put Su|m2 into |
|00005570| 53 75 6d 33 0d 72 65 70 | 65 61 74 20 77 69 74 68 |Sum3.rep|eat with|
|00005580| 20 69 3d 6c 69 6e 65 43 | 6f 75 6e 74 2d 73 70 61 | i=lineC|ount-spa|
|00005590| 6e 33 2b 31 20 74 6f 20 | 6c 69 6e 65 43 6f 75 6e |n3+1 to |lineCoun|
|000055a0| 74 2d 73 70 61 6e 32 0d | 61 64 64 20 6c 69 6e 65 |t-span2.|add line|
|000055b0| 20 69 20 6f 66 20 66 69 | 65 6c 64 20 22 50 6c 6f | i of fi|eld "Plo|
|000055c0| 74 20 56 61 6c 75 65 73 | 22 20 74 6f 20 53 75 6d |t Values|" to Sum|
|000055d0| 33 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6c 73 |3.end re|peat.els|
|000055e0| 65 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 53 75 6d |e.put 0 |into Sum|
|000055f0| 33 0d 65 6e 64 20 69 66 | 0d 6d 6f 76 69 6e 67 41 |3.end if|.movingA|
|00005600| 76 65 72 61 67 65 20 73 | 75 6d 31 2c 31 2c 73 70 |verage s|um1,1,sp|
|00005610| 61 6e 31 0d 6d 6f 76 69 | 6e 67 41 76 65 72 61 67 |an1.movi|ngAverag|
|00005620| 65 20 73 75 6d 32 2c 32 | 2c 73 70 61 6e 32 0d 6d |e sum2,2|,span2.m|
|00005630| 6f 76 69 6e 67 41 76 65 | 72 61 67 65 20 73 75 6d |ovingAve|rage sum|
|00005640| 33 2c 33 2c 73 70 61 6e | 33 0d 72 65 73 65 74 20 |3,3,span|3.reset |
|00005650| 70 61 69 6e 74 0d 70 75 | 74 20 65 6d 70 74 79 20 |paint.pu|t empty |
|00005660| 69 6e 74 6f 20 66 69 65 | 6c 64 20 22 50 6c 6f 74 |into fie|ld "Plot|
|00005670| 20 56 61 6c 75 65 73 22 | 20 20 2d 2d 20 6e 65 65 | Values"| -- nee|
|00005680| 64 20 76 61 6c 75 65 73 | 20 6f 6e 6c 79 20 74 65 |d values| only te|
|00005690| 6d 70 6f 72 61 72 69 6c | 79 0d 63 68 6f 6f 73 65 |mporaril|y.choose|
|000056a0| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 73 65 74 | browse |tool.set|
|000056b0| 20 75 73 65 72 4c 65 76 | 65 6c 20 74 6f 20 73 61 | userLev|el to sa|
|000056c0| 76 65 4c 65 76 65 6c 0d | 65 6e 64 20 6d 6f 75 73 |veLevel.|end mous|
|000056d0| 65 55 70 0d 0d 00 00 d8 | 00 34 01 00 00 79 01 f1 |eUp.....|.4...y..|
|000056e0| 00 89 01 ff 00 00 00 00 | 0e 00 00 01 00 00 00 0c |........|........|
|000056f0| 00 00 00 10 64 69 72 65 | 63 74 69 6f 6e 20 31 00 |....dire|ction 1.|
|00005700| 00 6f 6e 20 6d 6f 75 73 | 65 55 70 0d 67 65 74 20 |.on mous|eUp.get |
|00005710| 69 63 6f 6e 20 6f 66 20 | 62 6b 67 6e 64 20 62 75 |icon of |bkgnd bu|
|00005720| 74 74 6f 6e 20 22 64 69 | 72 65 63 74 69 6f 6e 20 |tton "di|rection |
|00005730| 31 22 0d 69 66 20 69 74 | ad 31 36 36 39 32 20 74 |1".if it|.16692 t|
|00005740| 68 65 6e 0d 70 75 74 20 | 31 36 36 39 32 20 69 6e |hen.put |16692 in|
|00005750| 74 6f 20 69 74 0d 65 6c | 73 65 0d 70 75 74 20 33 |to it.el|se.put 3|
|00005760| 35 38 34 20 69 6e 74 6f | 20 69 74 0d 65 6e 64 20 |584 into| it.end |
|00005770| 69 66 0d 73 65 74 20 69 | 63 6f 6e 20 6f 66 20 62 |if.set i|con of b|
|00005780| 6b 67 6e 64 20 62 75 74 | 74 6f 6e 20 22 64 69 72 |kgnd but|ton "dir|
|00005790| 65 63 74 69 6f 6e 20 31 | 22 20 74 6f 20 69 74 0d |ection 1|" to it.|
|000057a0| 65 6e 64 20 6d 6f 75 73 | 65 55 70 0d 00 00 00 d8 |end mous|eUp.....|
|000057b0| 00 35 01 00 00 8a 01 f1 | 00 9a 01 ff 00 00 00 00 |.5......|........|
|000057c0| 0e 00 00 01 00 00 00 0c | 00 00 00 10 64 69 72 65 |........|....dire|
|000057d0| 63 74 69 6f 6e 20 32 00 | 00 6f 6e 20 6d 6f 75 73 |ction 2.|.on mous|
|000057e0| 65 55 70 0d 67 65 74 20 | 69 63 6f 6e 20 6f 66 20 |eUp.get |icon of |
|000057f0| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 20 22 64 69 |bkgnd bu|tton "di|
|00005800| 72 65 63 74 69 6f 6e 20 | 32 22 0d 69 66 20 69 74 |rection |2".if it|
|00005810| ad 31 36 36 39 32 20 74 | 68 65 6e 0d 70 75 74 20 |.16692 t|hen.put |
|00005820| 31 36 36 39 32 20 69 6e | 74 6f 20 69 74 0d 65 6c |16692 in|to it.el|
|00005830| 73 65 0d 70 75 74 20 33 | 35 38 34 20 69 6e 74 6f |se.put 3|584 into|
|00005840| 20 69 74 0d 65 6e 64 20 | 69 66 0d 73 65 74 20 69 | it.end |if.set i|
|00005850| 63 6f 6e 20 6f 66 20 62 | 6b 67 6e 64 20 62 75 74 |con of b|kgnd but|
|00005860| 74 6f 6e 20 22 64 69 72 | 65 63 74 69 6f 6e 20 32 |ton "dir|ection 2|
|00005870| 22 20 74 6f 20 69 74 0d | 65 6e 64 20 6d 6f 75 73 |" to it.|end mous|
|00005880| 65 55 70 0d 00 00 00 d8 | 00 36 01 00 00 9b 01 f1 |eUp.....|.6......|
|00005890| 00 ab 01 ff 00 00 00 00 | 41 34 00 01 00 00 00 0c |........|A4......|
|000058a0| 00 00 00 10 64 69 72 65 | 63 74 69 6f 6e 20 33 00 |....dire|ction 3.|
|000058b0| 00 6f 6e 20 6d 6f 75 73 | 65 55 70 0d 67 65 74 20 |.on mous|eUp.get |
|000058c0| 69 63 6f 6e 20 6f 66 20 | 62 6b 67 6e 64 20 62 75 |icon of |bkgnd bu|
|000058d0| 74 74 6f 6e 20 22 64 69 | 72 65 63 74 69 6f 6e 20 |tton "di|rection |
|000058e0| 33 22 0d 69 66 20 69 74 | ad 31 36 36 39 32 20 74 |3".if it|.16692 t|
|000058f0| 68 65 6e 0d 70 75 74 20 | 31 36 36 39 32 20 69 6e |hen.put |16692 in|
|00005900| 74 6f 20 69 74 0d 65 6c | 73 65 0d 70 75 74 20 33 |to it.el|se.put 3|
|00005910| 35 38 34 20 69 6e 74 6f | 20 69 74 0d 65 6e 64 20 |584 into| it.end |
|00005920| 69 66 0d 73 65 74 20 69 | 63 6f 6e 20 6f 66 20 62 |if.set i|con of b|
|00005930| 6b 67 6e 64 20 62 75 74 | 74 6f 6e 20 22 64 69 72 |kgnd but|ton "dir|
|00005940| 65 63 74 69 6f 6e 20 33 | 22 20 74 6f 20 69 74 0d |ection 3|" to it.|
|00005950| 65 6e 64 20 6d 6f 75 73 | 65 55 70 0d 00 00 00 6c |end mous|eUp....l|
|00005960| 00 39 01 00 01 3d 01 e6 | 01 52 01 fe 20 00 00 00 |.9...=..|.R.. ...|
|00005970| 77 5d 00 01 00 00 00 0c | 00 00 00 10 54 6f 20 54 |w]......|....To T|
|00005980| 69 74 6c 65 20 43 61 72 | 64 00 00 6f 6e 20 6d 6f |itle Car|d..on mo|
|00005990| 75 73 65 55 70 0d 67 6c | 6f 62 61 6c 20 74 69 74 |useUp.gl|obal tit|
|000059a0| 6c 65 43 61 72 64 0d 67 | 6f 20 74 6f 20 63 61 72 |leCard.g|o to car|
|000059b0| 64 20 74 69 74 6c 65 43 | 61 72 64 0d 65 6e 64 20 |d titleC|ard.end |
|000059c0| 6d 6f 75 73 65 55 70 0d | 00 00 41 64 76 61 6e 63 |mouseUp.|..Advanc|
|000059d0| 65 2d 44 65 63 6c 69 6e | 65 20 43 68 61 72 74 00 |e-Declin|e Chart.|
|000059e0| 6f 6e 20 6f 70 65 6e 42 | 61 63 6b 67 72 6f 75 6e |on openB|ackgroun|
|000059f0| 64 0d 70 75 73 68 20 72 | 65 63 65 6e 74 20 63 61 |d.push r|ecent ca|
|00005a00| 72 64 0d 65 6e 64 20 6f | 70 65 6e 42 61 63 6b 67 |rd.end o|penBackg|
|00005a10| 72 6f 75 6e 64 0d 0d 6f | 6e 20 4e 65 77 43 61 72 |round..o|n NewCar|
|00005a20| 64 0d 67 6c 6f 62 61 6c | 20 6d 69 6e 42 61 73 65 |d.global| minBase|
|00005a30| 56 61 6c 75 65 0d 67 6c | 6f 62 61 6c 20 6c 69 6e |Value.gl|obal lin|
|00005a40| 65 43 6f 75 6e 74 2c 69 | 74 65 6d 43 6f 75 6e 74 |eCount,i|temCount|
|00005a50| 2c 68 69 67 68 49 74 65 | 6d 2c 6c 6f 77 49 74 65 |,highIte|m,lowIte|
|00005a60| 6d 0d 70 75 74 20 6d 69 | 6e 42 61 73 65 56 61 6c |m.put mi|nBaseVal|
|00005a70| 75 65 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 22 42 |ue into |field "B|
|00005a80| 61 73 65 20 56 61 6c 75 | 65 22 0d 70 75 74 20 30 |ase Valu|e".put 0|
|00005a90| 20 69 6e 74 6f 20 6c 69 | 6e 65 43 6f 75 6e 74 0d | into li|neCount.|
|00005aa0| 70 75 74 20 30 20 69 6e | 74 6f 20 69 74 65 6d 43 |put 0 in|to itemC|
|00005ab0| 6f 75 6e 74 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |ount.put| 0 into |
|00005ac0| 68 69 67 68 49 74 65 6d | 0d 70 75 74 20 30 20 69 |highItem|.put 0 i|
|00005ad0| 6e 74 6f 20 6c 6f 77 49 | 74 65 6d 0d 72 65 70 65 |nto lowI|tem.repe|
|00005ae0| 61 74 20 77 69 74 68 20 | 69 3d 31 20 74 6f 20 33 |at with |i=1 to 3|
|00005af0| 0d 61 72 72 6f 77 44 69 | 72 65 63 74 69 6f 6e 20 |.arrowDi|rection |
|00005b00| 69 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |i.end re|peat.end|
|00005b10| 20 4e 65 77 43 61 72 64 | 0d 0d 6f 6e 20 70 75 74 | NewCard|..on put|
|00005b20| 52 61 6e 67 65 20 68 69 | 67 68 49 74 65 6d 2c 6c |Range hi|ghItem,l|
|00005b30| 6f 77 49 74 65 6d 0d 67 | 6c 6f 62 61 6c 20 6c 69 |owItem.g|lobal li|
|00005b40| 6e 65 43 6f 75 6e 74 0d | 67 65 74 20 69 74 65 6d |neCount.|get item|
|00005b50| 20 68 69 67 68 49 74 65 | 6d 20 6f 66 20 6c 69 6e | highIte|m of lin|
|00005b60| 65 20 31 20 6f 66 20 66 | 69 65 6c 64 20 22 64 61 |e 1 of f|ield "da|
|00005b70| 74 61 22 0d 73 75 62 74 | 72 61 63 74 20 69 74 65 |ta".subt|ract ite|
|00005b80| 6d 20 6c 6f 77 49 74 65 | 6d 20 6f 66 20 6c 69 6e |m lowIte|m of lin|
|00005b90| 65 20 31 20 6f 66 20 66 | 69 65 6c 64 20 22 64 61 |e 1 of f|ield "da|
|00005ba0| 74 61 22 20 66 72 6f 6d | 20 69 74 0d 61 64 64 20 |ta" from| it.add |
|00005bb0| 66 69 65 6c 64 20 22 42 | 61 73 65 20 56 61 6c 75 |field "B|ase Valu|
|00005bc0| 65 22 20 74 6f 20 69 74 | 0d 70 75 74 20 69 74 20 |e" to it|.put it |
|00005bd0| 69 6e 74 6f 20 68 69 67 | 68 56 61 6c 75 65 0d 70 |into hig|hValue.p|
|00005be0| 75 74 20 69 74 20 69 6e | 74 6f 20 6c 6f 77 56 61 |ut it in|to lowVa|
|00005bf0| 6c 75 65 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |lue.put |it into |
|00005c00| 63 75 72 72 65 6e 74 56 | 61 6c 75 65 0d 72 65 70 |currentV|alue.rep|
|00005c10| 65 61 74 20 77 69 74 68 | 20 69 3d 32 20 74 6f 20 |eat with| i=2 to |
|00005c20| 6c 69 6e 65 43 6f 75 6e | 74 0d 67 65 74 20 69 74 |lineCoun|t.get it|
|00005c30| 65 6d 20 68 69 67 68 49 | 74 65 6d 20 6f 66 20 6c |em highI|tem of l|
|00005c40| 69 6e 65 20 69 20 6f 66 | 20 66 69 65 6c 64 20 22 |ine i of| field "|
|00005c50| 64 61 74 61 22 0d 73 75 | 62 74 72 61 63 74 20 69 |data".su|btract i|
|00005c60| 74 65 6d 20 6c 6f 77 49 | 74 65 6d 20 6f 66 20 6c |tem lowI|tem of l|
|00005c70| 69 6e 65 20 69 20 6f 66 | 20 66 69 65 6c 64 20 22 |ine i of| field "|
|00005c80| 64 61 74 61 22 20 66 72 | 6f 6d 20 69 74 0d 61 64 |data" fr|om it.ad|
|00005c90| 64 20 69 74 20 74 6f 20 | 63 75 72 72 65 6e 74 56 |d it to |currentV|
|00005ca0| 61 6c 75 65 0d 69 66 20 | 63 75 72 72 65 6e 74 56 |alue.if |currentV|
|00005cb0| 61 6c 75 65 3e 68 69 67 | 68 56 61 6c 75 65 20 74 |alue>hig|hValue t|
|00005cc0| 68 65 6e 0d 70 75 74 20 | 63 75 72 72 65 6e 74 56 |hen.put |currentV|
|00005cd0| 61 6c 75 65 20 69 6e 74 | 6f 20 68 69 67 68 56 61 |alue int|o highVa|
|00005ce0| 6c 75 65 0d 65 6c 73 65 | 0d 69 66 20 63 75 72 72 |lue.else|.if curr|
|00005cf0| 65 6e 74 56 61 6c 75 65 | 3c 6c 6f 77 56 61 6c 75 |entValue|<lowValu|
|00005d00| 65 20 74 68 65 6e 0d 70 | 75 74 20 63 75 72 72 65 |e then.p|ut curre|
|00005d10| 6e 74 56 61 6c 75 65 20 | 69 6e 74 6f 20 6c 6f 77 |ntValue |into low|
|00005d20| 56 61 6c 75 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Value.en|d if.end|
|00005d30| 20 69 66 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 70 | if.end |repeat.p|
|00005d40| 75 74 20 68 69 67 68 56 | 61 6c 75 65 20 69 6e 74 |ut highV|alue int|
|00005d50| 6f 20 66 69 65 6c 64 20 | 22 48 69 67 68 22 0d 70 |o field |"High".p|
|00005d60| 75 74 20 6c 6f 77 56 61 | 6c 75 65 20 69 6e 74 6f |ut lowVa|lue into|
|00005d70| 20 66 69 65 6c 64 20 22 | 4c 6f 77 22 0d 70 75 74 | field "|Low".put|
|00005d80| 20 63 75 72 72 65 6e 74 | 56 61 6c 75 65 20 69 6e | current|Value in|
|00005d90| 74 6f 20 66 69 65 6c 64 | 20 22 43 6c 6f 73 65 22 |to field| "Close"|
|00005da0| 0d 65 6e 64 20 70 75 74 | 52 61 6e 67 65 0d 0d 6f |.end put|Range..o|
|00005db0| 6e 20 4f 70 65 6e 43 61 | 72 64 0d 67 6c 6f 62 61 |n OpenCa|rd.globa|
|00005dc0| 6c 20 6c 69 6e 65 43 6f | 75 6e 74 2c 69 74 65 6d |l lineCo|unt,item|
|00005dd0| 43 6f 75 6e 74 2c 68 69 | 67 68 49 74 65 6d 2c 6c |Count,hi|ghItem,l|
|00005de0| 6f 77 49 74 65 6d 2c 63 | 6f 70 79 69 6e 67 43 68 |owItem,c|opyingCh|
|00005df0| 61 72 74 73 0d 69 66 20 | 6e 6f 74 20 63 6f 70 79 |arts.if |not copy|
|00005e00| 69 6e 67 43 68 61 72 74 | 73 20 74 68 65 6e 0d 73 |ingChart|s then.s|
|00005e10| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 34 0d 72 |et curso|r to 4.r|
|00005e20| 65 70 65 61 74 20 77 69 | 74 68 20 69 3d 31 20 74 |epeat wi|th i=1 t|
|00005e30| 6f 20 33 0d 61 72 72 6f | 77 44 69 72 65 63 74 69 |o 3.arro|wDirecti|
|00005e40| 6f 6e 20 69 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |on i.end| repeat.|
|00005e50| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00005e60| 66 20 6c 69 6e 65 73 20 | 6f 66 20 66 69 65 6c 64 |f lines |of field|
|00005e70| 20 22 44 61 74 61 22 20 | 69 6e 74 6f 20 6c 69 6e | "Data" |into lin|
|00005e80| 65 43 6f 75 6e 74 0d 70 | 75 74 20 74 68 65 20 6e |eCount.p|ut the n|
|00005e90| 75 6d 62 65 72 20 6f 66 | 20 69 74 65 6d 73 20 69 |umber of| items i|
|00005ea0| 6e 20 6c 69 6e 65 20 31 | 20 6f 66 20 66 69 65 6c |n line 1| of fiel|
|00005eb0| 64 20 22 44 61 74 61 22 | 20 69 6e 74 6f 20 69 74 |d "Data"| into it|
|00005ec0| 65 6d 43 6f 75 6e 74 0d | 70 75 74 20 31 20 69 6e |emCount.|put 1 in|
|00005ed0| 74 6f 20 68 69 67 68 49 | 74 65 6d 0d 70 75 74 20 |to highI|tem.put |
|00005ee0| 32 20 69 6e 74 6f 20 6c | 6f 77 49 74 65 6d 0d 69 |2 into l|owItem.i|
|00005ef0| 66 20 69 74 65 6d 43 6f | 75 6e 74 3e 31 20 74 68 |f itemCo|unt>1 th|
|00005f00| 65 6e 0d 70 75 74 20 32 | 20 69 6e 74 6f 20 68 69 |en.put 2| into hi|
|00005f10| 67 68 49 74 65 6d 0d 70 | 75 74 20 33 20 69 6e 74 |ghItem.p|ut 3 int|
|00005f20| 6f 20 6c 6f 77 49 74 65 | 6d 0d 65 6e 64 20 69 66 |o lowIte|m.end if|
|00005f30| 0d 69 66 20 68 69 67 68 | 49 74 65 6d 3e 31 20 74 |.if high|Item>1 t|
|00005f40| 68 65 6e 0d 70 75 74 20 | 69 74 65 6d 20 31 20 6f |hen.put |item 1 o|
|00005f50| 66 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 66 |f last l|ine of f|
|00005f60| 69 65 6c 64 20 22 64 61 | 74 61 22 20 69 6e 74 6f |ield "da|ta" into|
|00005f70| 20 66 69 65 6c 64 20 22 | 44 61 74 65 20 6f 66 20 | field "|Date of |
|00005f80| 4c 61 73 74 20 55 70 64 | 61 74 65 22 0d 65 6c 73 |Last Upd|ate".els|
|00005f90| 65 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e.put em|pty into|
|00005fa0| 20 66 69 65 6c 64 20 22 | 44 61 74 65 20 6f 66 20 | field "|Date of |
|00005fb0| 4c 61 73 74 20 55 70 64 | 61 74 65 22 0d 65 6e 64 |Last Upd|ate".end|
|00005fc0| 20 69 66 0d 70 75 74 52 | 61 6e 67 65 20 68 69 67 | if.putR|ange hig|
|00005fd0| 68 49 74 65 6d 2c 6c 6f | 77 49 74 65 6d 0d 53 65 |hItem,lo|wItem.Se|
|00005fe0| 74 66 6f 72 55 70 64 61 | 74 65 0d 65 6e 64 20 69 |tforUpda|te.end i|
|00005ff0| 66 0d 65 6e 64 20 4f 70 | 65 6e 43 61 72 64 0d 0d |f.end Op|enCard..|
|00006000| 6f 6e 20 41 64 64 44 61 | 74 65 20 73 74 61 72 74 |on AddDa|te start|
|00006010| 44 61 74 65 0d 70 75 74 | 20 73 74 61 72 74 44 61 |Date.put| startDa|
|00006020| 74 65 20 69 6e 74 6f 20 | 6e 65 77 44 61 74 65 0d |te into |newDate.|
|00006030| 63 6f 6e 76 65 72 74 20 | 6e 65 77 44 61 74 65 20 |convert |newDate |
|00006040| 74 6f 20 73 65 63 6f 6e | 64 73 0d 70 75 74 20 37 |to secon|ds.put 7|
|00006050| 2a 32 34 2a 33 36 30 30 | 20 69 6e 74 6f 20 61 57 |*24*3600| into aW|
|00006060| 65 65 6b 20 2d 2d 20 73 | 65 63 6f 6e 64 73 20 69 |eek -- s|econds i|
|00006070| 6e 20 61 20 77 65 65 6b | 0d 70 75 74 20 74 68 65 |n a week|.put the|
|00006080| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00006090| 20 6f 66 20 66 69 65 6c | 64 20 22 64 61 74 61 22 | of fiel|d "data"|
|000060a0| 20 69 6e 74 6f 20 6c 69 | 6e 65 43 6f 75 6e 74 0d | into li|neCount.|
|000060b0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 3d 31 20 |repeat w|ith i=1 |
|000060c0| 74 6f 20 6c 69 6e 65 43 | 6f 75 6e 74 0d 70 75 74 |to lineC|ount.put|
|000060d0| 20 6e 65 77 44 61 74 65 | 20 69 6e 74 6f 20 63 75 | newDate| into cu|
|000060e0| 72 72 65 6e 74 64 61 74 | 65 0d 63 6f 6e 76 65 72 |rrentdat|e.conver|
|000060f0| 74 20 63 75 72 72 65 6e | 74 64 61 74 65 20 74 6f |t curren|tdate to|
|00006100| 20 64 61 74 65 49 74 65 | 6d 73 0d 70 75 74 20 63 | dateIte|ms.put c|
|00006110| 68 61 72 61 63 74 65 72 | 20 33 20 74 6f 20 34 20 |haracter| 3 to 4 |
|00006120| 6f 66 20 69 74 65 6d 20 | 31 20 6f 66 20 63 75 72 |of item |1 of cur|
|00006130| 72 65 6e 74 44 61 74 65 | 20 69 6e 74 6f 20 79 65 |rentDate| into ye|
|00006140| 61 72 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |ar.put i|tem 2 of|
|00006150| 20 63 75 72 72 65 6e 74 | 44 61 74 65 20 69 6e 74 | current|Date int|
|00006160| 6f 20 6d 6f 6e 74 68 0d | 69 66 20 6d 6f 6e 74 68 |o month.|if month|
|00006170| 3c 31 30 20 74 68 65 6e | 0d 70 75 74 20 22 30 22 |<10 then|.put "0"|
|00006180| 26 6d 6f 6e 74 68 20 69 | 6e 74 6f 20 6d 6f 6e 74 |&month i|nto mont|
|00006190| 68 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 69 74 65 |h.end if|.put ite|
|000061a0| 6d 20 33 20 6f 66 20 63 | 75 72 72 65 6e 74 44 61 |m 3 of c|urrentDa|
|000061b0| 74 65 20 69 6e 74 6f 20 | 64 61 79 0d 69 66 20 64 |te into |day.if d|
|000061c0| 61 79 3c 31 30 20 74 68 | 65 6e 0d 70 75 74 20 22 |ay<10 th|en.put "|
|000061d0| 30 22 26 64 61 79 20 69 | 6e 74 6f 20 64 61 79 0d |0"&day i|nto day.|
|000061e0| 65 6e 64 20 69 66 0d 67 | 65 74 20 6c 69 6e 65 20 |end if.g|et line |
|000061f0| 69 20 6f 66 20 66 69 65 | 6c 64 20 22 64 61 74 61 |i of fie|ld "data|
|00006200| 22 0d 70 75 74 20 79 65 | 61 72 26 6d 6f 6e 74 68 |".put ye|ar&month|
|00006210| 26 64 61 79 26 22 2c 22 | 26 69 74 20 69 6e 74 6f |&day&","|&it into|
|00006220| 20 6c 69 6e 65 20 69 20 | 6f 66 20 66 69 65 6c 64 | line i |of field|
|00006230| 20 22 64 61 74 61 22 0d | 61 64 64 20 61 57 65 65 | "data".|add aWee|
|00006240| 6b 20 74 6f 20 6e 65 77 | 44 61 74 65 0d 65 6e 64 |k to new|Date.end|
|00006250| 20 72 65 70 65 61 74 0d | 65 6e 64 20 41 64 64 44 | repeat.|end AddD|
|00006260| 61 74 65 0d 0d 6f 6e 20 | 4d 6f 76 69 6e 67 41 76 |ate..on |MovingAv|
|00006270| 65 72 61 67 65 20 61 76 | 67 2c 61 76 67 4e 72 2c |erage av|g,avgNr,|
|00006280| 73 70 61 6e 0d 67 6c 6f | 62 61 6c 20 6c 69 6e 65 |span.glo|bal line|
|00006290| 43 6f 75 6e 74 0d 67 6c | 6f 62 61 6c 20 75 70 41 |Count.gl|obal upA|
|000062a0| 72 72 6f 77 2c 64 6f 77 | 6e 41 72 72 6f 77 0d 70 |rrow,dow|nArrow.p|
|000062b0| 75 74 20 22 41 76 65 72 | 61 67 65 20 22 26 61 76 |ut "Aver|age "&av|
|000062c0| 67 4e 72 20 69 6e 74 6f | 20 61 76 67 46 69 65 6c |gNr into| avgFiel|
|000062d0| 64 0d 70 75 74 20 22 62 | 6b 67 6e 64 20 62 75 74 |d.put "b|kgnd but|
|000062e0| 74 6f 6e 20 22 26 71 75 | 6f 74 65 26 22 64 69 72 |ton "&qu|ote&"dir|
|000062f0| 65 63 74 69 6f 6e 20 22 | 26 61 76 67 4e 72 26 71 |ection "|&avgNr&q|
|00006300| 75 6f 74 65 20 69 6e 74 | 6f 20 61 72 72 6f 77 42 |uote int|o arrowB|
|00006310| 75 74 74 6f 6e 0d 70 75 | 74 20 30 20 69 6e 74 6f |utton.pu|t 0 into|
|00006320| 20 69 63 6f 6e 4e 72 0d | 69 66 20 6c 69 6e 65 43 | iconNr.|if lineC|
|00006330| 6f 75 6e 74 3e 3d 73 70 | 61 6e 20 74 68 65 6e 0d |ount>=sp|an then.|
|00006340| 70 75 74 20 72 6f 75 6e | 64 65 72 73 28 41 76 67 |put roun|ders(Avg|
|00006350| 2c 73 70 61 6e 29 20 69 | 6e 74 6f 20 66 69 65 6c |,span) i|nto fiel|
|00006360| 64 20 61 76 67 46 69 65 | 6c 64 0d 69 66 20 6c 69 |d avgFie|ld.if li|
|00006370| 6e 65 43 6f 75 6e 74 3e | 3d 73 70 61 6e 2b 32 20 |neCount>|=span+2 |
|00006380| 74 68 65 6e 0d 70 75 74 | 20 41 76 67 20 69 6e 74 |then.put| Avg int|
|00006390| 6f 20 41 76 67 61 0d 70 | 75 74 20 6c 69 6e 65 43 |o Avga.p|ut lineC|
|000063a0| 6f 75 6e 74 20 69 6e 74 | 6f 20 65 6e 64 43 6f 75 |ount int|o endCou|
|000063b0| 6e 74 0d 70 75 74 20 6c | 69 6e 65 43 6f 75 6e 74 |nt.put l|ineCount|
|000063c0| 2d 73 70 61 6e 20 69 6e | 74 6f 20 73 74 61 72 74 |-span in|to start|
|000063d0| 43 6f 75 6e 74 0d 73 75 | 62 74 72 61 63 74 20 6c |Count.su|btract l|
|000063e0| 69 6e 65 20 65 6e 64 43 | 6f 75 6e 74 20 6f 66 20 |ine endC|ount of |
|000063f0| 66 69 65 6c 64 20 22 50 | 6c 6f 74 20 56 61 6c 75 |field "P|lot Valu|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.